[Haskell-cafe] HXT: how to get sibling element

Wilfried van Asten sniperrifle2004 at gmail.com
Thu Mar 15 14:36:49 CET 2012


ArrowNavigatableTree can also get a following sibling Axis:

http://hackage.haskell.org/packages/archive/hxt/9.2.2/doc/html/Control-Arrow-ArrowNavigatableTree.html

Wilfried

2012/3/15 Никитин Лев <leon.v.nikitin at pravmail.ru>:
> Oh, yes!
> In this situation with so poor structured source I can try to use tagsoup. (or I'll take a look at xml-conduit).
>
> Nevertheless  for better undestanding HXT it will be interesting to solve this problem in HXT. Or is it impossible?
>
>
>
> 15.03.2012, 20:08, "Asten, W.G.G. van (Wilfried, Student B-TI)" <w.g.g.vanasten at student.utwente.nl>:
>> You might want to check out the xml-conduit package. It has preceding
>> and following sibling Axis. I am not sure how the package works
>> exactly, but it seems to be a good starting point.
>>
>> 2012/3/15 Никитин Лев <leon.v.nikitin at pravmail.ru>:
>>
>>>  I absolutly agree with you but unfortunetly, it is not my xml file.
>>>  It is extraction from html page of public web server. I cannot to change
>>>  format of this html page.
>>>  Sorry. I had to explain it  in first letter.
>>>
>>>  But than what about to get sibling text (geting sibling is an separate
>>>  interesting tasks with no matter for my contrete case).
>>>
>>>  _______________________________________________
>>>  Haskell-Cafe mailing list
>>>  Haskell-Cafe at haskell.org
>>>  http://www.haskell.org/mailman/listinfo/haskell-cafe
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list