[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: sorting (again)

Subject: Re: sorting (again)
From: "Davis Ford" <davisford@xxxxxxxxx>
Date: Thu, 29 Nov 2007 12:18:52 -0500
Re:  sorting (again)
Hi Andrew,

Thanks for the response.  I tried that, and it still sorts the
DictionaryModelDescriptor element --> puts it in canonical order...not
at the top.

On Nov 29, 2007 12:13 PM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
> 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/
>
>



-- 
Zeno Consulting, Inc.
http://www.zenoconsulting.biz
248.894.4922 phone
313.884.2977 fax

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.