I have following in my stylesheet.
When I parse thru' following via xalan coming with jdk any 1.4 version I always get attributes sorted. I do not want to sort. What <xsl: .....) command I can use not to sort.
<xsl:when test="contains(Status/@success,'false')">
<xsl:element name="error">
<xsl:attribute name="L">mee</xsl:attribute>
<xsl:attribute name="C">xxx</xsl:attribute>
<xsl:attribute name="A">blah</xsl:attribute>
</xsl:element>
</xsl:when>
Output of the parser is always
<error A="blah" C="xxx" L="mee"/>
But required output is
<error C="xxx" A="blah" L="mee">