Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Help sorting xml to xml Help sorting xml to xmlTo: NULL Date: 10/5/2009 4:00:00 PM Hi all, I've been stuck on this issue for a while. I need to sort elements in an xml file but have been unable to. First of all, I'm new to xsl. But here is the general layout of my xml: <a> <b> <c type="period"> <key> <d name="date">2006-09-12 00:00:00.0</d> </key> ...(many other elements, many which have nested elements 6-7 levels deep) </c> <c type="period"> <key> <d name="date">2006-09-15 00:00:00.0</d> </key> ...(many other elements, many which have nested elements 6-7 levels deep) </c> </b> </a> From what I read/understood, with xsl, you have to specify all the fields you want to copy over to the new xml transformation? If so, that's just not an option as there are so many other elements within the 'c' elements I want to sort by. What I need to do is find a quick way to sort the 'c' elements by the 'd' element value (date). Any suggestions/direction would be appreciated! Thanks. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
