go ahead... be a heretic | |
PerlMonks |
Re^2: XML::Xpath - Can I get the XPath of the current node?by admiral_grinder (Pilgrim) |
on Feb 29, 2008 at 19:16 UTC ( [id://671263]=note: print w/replies, xml ) | Need Help?? |
If there is two+ nodes of the same name, you should be able to do a preceding sibling (or previous sibling) on the context node and count.
In Section
Seekers of Perl Wisdom
|
|