Modelling a Directory Structure in XML

G

Graham

I need to create an XML document which represents a directory
structure, ie If I had a folder strucure such as


-foo
---bar.txt
---test.txt
+folder2

ie two root folders called foo and folder2

in the folder foo there are two files, one called bar.txt and the
other called test.txt


then an XML structure could be generated which looks something like
this

<FOLDER foo>
___<FILE bar.txt/>
___<FILE test.txt/>
</FOLDER>

<FOLDER folder2>
___<FILE whatever>
</FOLDER>

Is there an application out there which will do this simply? If not
can someone suggest a way of doing it? i know VB, a little XSL, and
java.

g
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top