|
-
Dec 9th, 2005, 11:08 AM
#1
Thread Starter
Frenzied Member
Xml Dom Document to Formatted String
This is probably really easy but I can't see how to do it. I have a org.w3c.dom.Document and I want to output it's contents to a JTextArea,
for example:
<employee id="111">
<name>bob</name>
<age>34</age>
</employee>
Iterating through all the nodes and attributes would appear to be more work than I thought necessary.
Can any one point me in the right direction.
Last edited by DeadEyes; Dec 12th, 2005 at 09:21 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|