As far as I understand XPath, /yyy will look for a root node of <yyy>, which you don't have. Either /xxx/yyy or //yyy should find the yyy node.
Update: This just shows what little I know of namespaces. I think ikegami's reply is correct and this one is wrong. With a root node of xxx, $root->findNodes should find /yyy in <xxx><yyy></xxx>, but the namespace prevents the match.
In reply to Re: XML::Lib XML question
by Corion
in thread XML::Lib XML question
by weismat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |