Eric Bourque wrote:
> Are there plans to have a recursive Node::get_children or something
> similar? For example, the perl libxml wrapper has
> Element::getChildrenByTagName, and Element::getElementsByTagName, the
> latter of which is recursive. This is extremely handy.
Indeed. The standard way to do that is using XPath expressions
(http://www.w3.org/TR/xpath), which is supported in libxml++ by means of
the Node::find() method. Have a look into the examples, it demonstrates
how to use it.
Regards,
Stefan
|