| 
 
Subject: [xsl] xsl:sort descending causes attribute nodes to be created  after children, causing an error From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 16 Jan 2007 14:00:48 +0100  | 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
   <xsl:template match="rows">
       <xsl:copy>
           <xsl:apply-templates select="node() | @*">
               <xsl:sort
                   select="text()"
                   order="descending" />
           </xsl:apply-templates>
       </xsl:copy>
   </xsl:template>Cheers, -- Abel Braaksma http://www.nuntia.nl
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] translate apos in string, Michael Kay | Thread | Re: [xsl] xsl:sort descending cause, David Carlisle | 
| RE: [xsl] translate apos in string, Michael Kay | Date | Re: [xsl] xsl:sort descending cause, David Carlisle | 
| Month |