Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Sort xml and output xml Sort xml and output xmlTo: NULL Date: 12/5/2006 8:46:00 AM I have this xml-file. I want to sort it, and create a new xml-file. The result should be identical to the input except that it's sorted. <?xml version="1.0" encoding="UTF-8"?> <levelone> <child ID="1" sort="5"><name>Paul</name></child> <child ID="2" sort="1"><name>Adam</name></child> <child ID="3" sort="2"><name>Will</name></child> <root> I now want to apply an xslt file and have the following output: <?xml version="1.0" encoding="UTF-8"?> <levelone> <child ID="2" sort="1"><name>Adam</name></child> <child ID="3" sort="2"><name>Will</name></child> <child ID="1" sort="5"><name>Paul</name></child> <root> I've been searching for hours, but all the examples I have seen creates an HTML file. tia /jim | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
