Re: [Haskell-cafe] Parsing HTML tables with HXT

2011-04-11 Thread Dmitry Simonchik
Thanks! I was also able to extract the needed value with the code below: testArrow :: IOSArrow XmlTree XmlTree testArrow = deep (isElem hasName table ) deep (isElem hasName tr) (deep isText hasText (==a)) `guards` (getChildren getChildren isText) 2011/4/11

Re: [Haskell-cafe] Parsing HTML tables with HXT

2011-04-10 Thread Albert Y. C. Lai
On 11-04-08 06:29 AM, Dmitry Simonchik wrote: 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=tdcx/td tdy/td /tr tr td class=tdca/td tdb/td /tr /table I need the value of the second cell in a row that has first

[Haskell-cafe] Parsing HTML tables with HXT

2011-04-08 Thread Dmitry Simonchik
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=tdcx/td tdy/td /tr tr td class=tdca/td tdb/td /tr /table I need the value of the second cell in a row that has first cell with some predefined