Search code examples
javaxpathdepthvtd-xml

Java: VTD-XML 2.10: How to select all element in depth 1


I am using VTD-XML 2.10 in Java.

I have problem on how to select all elements which has depth of 1.

Any guidance is appreciated.


Solution

  • I think you should use xpath /*