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(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
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>
--~--
--
Zeno Consulting, Inc.
http://www.zenoconsulting.biz
248.894.4922 phone
313.884.2977 fax
--~------------------------------------------------------------------
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>
--~--