Reputation: 1073
I'm using VB.NET with XPath and would like to get a unique list of all nodes within my XML document, including child nodes.
Is this possible with XPath?
Upvotes: 0
Views: 1043
Reputation: 101748
To get all elements:
//*
To get all nodes, including the root, processing instructions, comments, text nodes, and attributes:
//node() | //@*
Upvotes: 2