Server generated XML-spreadsheet has random sequence of
s in each
. Which is required to be sorted.
I want to go with XS
<xsl:template match="Row">
does not match anything in your input XML, because your input XML has a default namespace:
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
You have already declared this namespace in your stylesheet and assigned it a prefix - now all you have to do is use it:
<xsl:template match="ss:Row">