|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
Back To School Sale!Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop. 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
|






