The trick was using listA to gather up the results of the computation. Working code is at http://hpaste.org/fastcgi/hpaste.fcgi/view?id=6187#a6188.
-deech
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#a6187 returns [("A","a")("B","b")("C","c")].
Any help is appreciated.
-deech