xsl-list
[Top] [All Lists]

Re: [xsl] sorting (again)

2007-11-29 10:14:13
On 29/11/2007, Davis Ford <davisford(_at_)gmail(_dot_)com> 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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>