File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes JTree and xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JTree and xml" Watch "JTree and xml" New topic

JTree and xml

Krithika Beri
Ranch Hand

Joined: Sep 11, 2012
Posts: 36
I have a very big xml file which i am parsing using DOM parser. Now I want that whenever I click on a node in the JTree, it should return to me the corresponding xml node so that i can make the required changes in that. Could you please tell me how to go about it
Paul Clapham

Joined: Oct 14, 2005
Posts: 19869

You mean like in this Oracle tutorial? Constructing a User-Friendly JTree from a DOM
I agree. Here's the link:
subject: JTree and xml
jQuery in Action, 3rd edition