|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Tree from directory listing
Hi list!
Does someone know a method to create a nested xml Tree structure from file
listing with paths?
eg.
...
<file name ="f1.xyz" path="/test/"/>
<file name ="f2.xyz" path="/test/folderInFolder/"/>
<file name ="f3.xyz" path="/test/folderInFolder/"/>
<file name ="f4.xyz" path="/test/folderInFolder2/"/>
<file name ="f5.xyz" path="/test2/folderInFolder3/"/>
...
to
<folder name="test">
<folder name="folderInFolder">
<file name="f2.xyz"/>
<file name="f3.xyz"/>
</folder
<folder name="folderInFolder2">
<file name="f4.xyz"/>
</folder
<folder name ="test">
<folder name="folderInFolder3">
<file name="f5.xyz">
</folder>
</folder>
Maybe anyone solved a similar problem?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








