How to select node without attributes using xpath?
2 answers
I think you mean that you want to select nodes without attributes.
From XPath: how to select nodes that have no attributes?
//node[not(@*)]
This will select all nodes that do not have attributes.
+5