[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] sorting (again)


Subject: Re: [xsl] sorting (again)
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 29 Nov 2007 17:13:45 +0000

On 29/11/2007, Davis Ford <davisford@xxxxxxxxx> wrote:
> This one puts it at the top, but now I have a duplicate in the middle
>
>         <xsl:template match="@*|node()">
>                 <xsl:copy>
>                         <xsl:apply-templates
> select="DictionaryModelDescriptor"/>
>                         <xsl:apply-templates select="@*|node()">

Just change:

<xsl:apply-templates select="@*|node()">

to

<xsl:apply-templates select="@*|node()[not(self::DictionaryModelDescriptor)]">


cheers
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


Current Thread