open file.xml ; for ( /descendant-or-self::node() | //@* ) echo xsh:path(.) (.) ;
To skip double reports for text() nodes and non-leaf nodes, you can add
[not(./*)][not(self::text())]
after the node().
In reply to Re: How can I browse & list XPATH of a XML Message?
by choroba
in thread How can I browse & list XPATH of a XML Message?
by MDRI
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |