Subject: Re: [xsl] sort problem From: Peter Davis <pdavis152@xxxxxxxxx> Date: Wed, 4 Sep 2002 23:20:28 -0700 |
On Wednesday 04 September 2002 23:09, aruniima.chakrabarti@xxxxxxxxxxxxxxxxxx wrote: > <xsl:apply-templates select="@*"> > <xsl:sort select="name()" > data-type="text"/> </xsl:apply-templates> If you want to be pedantic, the <xsl:sort> here doesn't matter, so you can save a few CPU cycles by just doing: <xsl:apply-templates select="@*"/> The reason is because <e a="1" b="2"/> will be interpreted exactly the same as: <e b="2" a="1"/> by any compliant XML parser. -- Peter Davis XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] sort problem, aruniima . chakrabar | Thread | RE: [xsl] sort problem, Michael Kay |
RE: [xsl] sort problem, aruniima . chakrabar | Date | RE: [xsl] A few questions to the ex, Jarno . Elovirta |
Month |