File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes How to read XML node hierarchy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to read XML node hierarchy" Watch "How to read XML node hierarchy" New topic
Author

How to read XML node hierarchy

swapnel surade
Ranch Hand

Joined: Mar 05, 2009
Posts: 129
Hello,

Suppose there is a XML file


I have to print the whole A tag on the screen.
Is there any way to print these element as they appear in file.
Output should be like this


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to read XML node hierarchy