Subject:XSLT to sort XML per schema Author:Greg M Date:21 Oct 2010 10:44 PM
I have an XML document which is dynamically generated by merging 2 XML documents. This resulting XML contains all the elements as per the XSD schema but in the wrong order. I'm looking for a way to sort this XML as per the schema. Is there a way to do this using XSLT? Perhaps somehow using the schema to generate an XSLT which sorts the document. I would greatly appreciate any suggestions.