XML, the Perl Way

Tree::DAG_Node::XPath

Tree::DAG_Node::XPath uses Tree::XPathEngine to add XPath to Tree::DAG_Node. If you use Tree::DAG_Node::XPath instead of Tree::DAG_Node then you get to use methods like findnodes, as in my @nodes= $root->findnodes( '<xpath_expression>').