[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: sort problem
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|