aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JTree and xml" Watch "JTree and xml" New topic
Author

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
Bartender

Joined: Oct 14, 2005
Posts: 18666
    
    8

You mean like in this Oracle tutorial? Constructing a User-Friendly JTree from a DOM
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTree and xml