|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] combining multiple xml files
I am wanting to combine multiple xml files looking as follows:
File 1: <class>
<id>001</id>
<name>beginning</name>
<section>
<id>100</id>
<name>Anderson</name>
<detail>some text</detail>
</section>
</class>File 2: <class> <id>001</id> <name>beginning</name> <section> <id>100</id> <name>Anderson</name> <detail>some more text</detail> </section> </class> File 3: <class> <id>001</id> <name>beginning</name> <section> <id>200</id> <name>Anderson</name> <detail>more text</detail> </section> </class> File 4: <class> <id>002</id> <name>advanced</name> <section> <id>100</id> <name>Jones</name> <detail>some final text</detail> </section> </class> and have the output look as such...any suggestions? <output> <class> <id>001</id> <name>beginning</name> <section> <id>100</id> <name>Anderson</name> <detail>some text</detail> <detail>some more text</detail> </section> <section> <id>200</id> <name>Anderson</name> <detail>more text</detail> </section> </class> <class> <id>002</id> <name>advanced</name> <section> <id>100</id> <name>Jones</name> <detail>some final text</detail> </section> </class> </output> Thanks _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








