Well the title should say it all. I have been able to parse a not so fancy tree form a well formed XML document. I was using the JDOM api since I read that it is brand new, fast, open source and meshes way better with Java than the old DOM. Anyone have experience with this kind of thing? Basically what I am trying to do is to represent a complete XML document in the form of atree with the nodes being the tags and the leaves being either the elements or the attributes of each tag. I was also going to make it possible to edit the tree and then correspondingly show the changes in the XML document that is open in the application. I just kind of wanted some pointers from someone who has worked with and extended the DefaultMutableTreeNode and the TreeModel classes. Some pointers is all. Much appreciated. Thanks.


LinkBack URL
About LinkBacks
Reply With Quote