Jtree DOM from several files

hi!

Can anyone tell me if is possible to make a DOM Jtree from several xml files that are located in one folder?

Im using this file as an example: http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/dom/work/DomEcho05.java

Help!! :(

Message was edited by:

Taigo

Message was edited by:

Taigo

Message was edited by:

Taigo

[392 byte] By [Taigoa] at [2007-11-27 1:59:25]
# 1
You would have to have some direction about how to combine the XML files, but yes, that should be possible.
DrClapa at 2007-7-12 1:37:09 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
hi! thanks for your replay.can you show me one example? or, where i can find it?
Taigoa at 2007-7-12 1:37:09 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Well, as I said, you would need to define your requirements first. You haven't done that yet. A JTree is a single tree. You have several XML documents. How do you want to combine them in a single tree?

When you have your requirements straight and you know what you want to do, then start writing code. Don't whine for examples here, you already have an example in that link you posted. Adapt it for your requirements. If you get stuck ask about your code. Don't ask for people to write things for you.

DrClapa at 2007-7-12 1:37:09 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...