Subject: RE: [xsl] ATTRIBUTE ORDER From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sat, 27 May 2006 15:53:45 +0100 |
> You can, however, always sort your attributes: if they're > always in alphabetical order they'll always be in the same order. > > <xsl:for-each select="@*"> > <xsl:sort select="name()"/> > ... > </xsl:for-each> Since collating sequences for xsl:sort aren't defined in the spec, you've no guarantee that this will give the same attribute order in different implementations; for example the handling of hyphens within sort keys is known to vary from one XSLT processor to another. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] ATTRIBUTE ORDER, Dimitre Novatchev | Thread | Re: [xsl] ATTRIBUTE ORDER, M. David Peterson |
RE: [xsl] please help me, Florent Georges | Date | RE: [xsl] Multibyte language only , Michael Kay |
Month |