I'm using Hpricot for traversing an XML packet. For each node I'm on, I want to get a list of the immediate children . However when using
(current_node/:section)
I'm getting ALL descendant sections, not just the immediate children.
How can I get around this?