There must be something I am missing here. root/head/node1@att1 is invalid, while root/head/node1/@att1 works just fine. I tested that with several tools, including XML::LibXML.
I would actually had the starting slash: /root/head/node1@att1.
In reply to Re^2: XPath with node names and attributes...
by mirod
in thread XPath with node names and attributes...
by biswanath_c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |