[Haskell-cafe] Parsing HTML tables with HXT

Dmitry Simonchik dima at simonchik.net
Fri Apr 8 12:29:17 CEST 2011


Dear Cafe,

Can someone please help me with getting the value of the table cell with HXT
in the following html:

<table class="tblc">
<tr>
  <td class="tdc">x</td>
  <td>y</td>
</tr>
<tr>
  <td class="tdc">a</td>
  <td>b</td>
</tr>
</table>

I need the value of the second cell in a row that has first cell with some
predefined value (in the example above it can be x or a) I need the arrow of
the type (IOSArrow XmlTree String) How to write it?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110408/de713fd2/attachment.htm>


More information about the Haskell-Cafe mailing list