-1

I am writing a program in Java where I have to traverse through nodes and return the output value of an attribute of XML string.

How do I traverse through the path to get a attribute value in Java.

dur
  • 14,335
  • 22
  • 74
  • 113
codehacker
  • 363
  • 5
  • 15

1 Answers1

0

Try this here:

https://docs.oracle.com/javase/tutorial/jaxp/dom/readingXML.html

at

Node Operations - Traversing nodes