change in the ordering of xml attributes

Leopen

New Member
I am using an xslt transformation to transform some xml files. In order to format the output, what i am using is two tags in the xsl style sheet.\[code\]<xsl:output method="xml" indent="yes"/><xsl:strip-space elements="*"/>\[/code\]But the problem is , in windows i am getting a kind of output , and when i run the program in a unix machine, i am getting a different kind of output.eg:\[code\]<Book name="Godfather" author="MarioPuzo"\[/code\]/>But in unix, what i am getting is ,\[code\]<Book author="MarioPuzo" name="Godfather" />\[/code\]it is kind of a weird problem. Any help is appreciated.
 
Back
Top