I have a JTree with a simple hierarchy, like an index. I want to convert the data in the JTree into an XML document. I can find how to get XML into a JTree but not the other way around.
Any suggestions?
We learn by doing, there is no other way.
clio katz
Ranch Hand
Joined: Apr 30, 2004
Posts: 101
posted
0
you can serialize the doc. check out e. r. harold's Output from DOM Chapter in his "Processing XML with Java " book
note: far-and-away one of the best technical books i've ever read - and he made the entire text available online! he's a real hero ...
C Kutler
Ranch Hand
Joined: Apr 15, 2004
Posts: 62
posted
0
Clio
Thanks for the answer and the pointer to what appears to be a very useful book.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.