[Haskell-beginners] HXT: Gathering text from Nodes

aditya siram aditya.siram at gmail.com
Tue Jun 23 15:20:11 EDT 2009


Hi all,
I'm having trouble using HXT to gather up text from all nodes with a certain
name, and return it in a tuple with another node.

So given 3 child nodes called "kid" containing "a", "b" and "c", and 1 child
node called "name" containing "A", I want to return ("A", ["a","b","c"]). My
current code at
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=6187#a6187returns
[("A","a")("B","b")("C","c")].

Any help is appreciated.
-deech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20090623/e0e25e14/attachment.html


More information about the Beginners mailing list