Subject: Re: [xsl] Ordering in XSL:Apply-Templates From: Matthieu Ricaud-Dussarget <matthieu.ricaud@xxxxxxxxx> Date: Mon, 25 Oct 2010 12:38:15 +0200 |
... <!-- elements to order first--> <xsl:apply-templates select="given-names"/> <xsl:apply-templates select="surname"/> <!-- others elements --> <xsl:apply-templates select="*[not(self::given-names or self::surname)]"/> ...
This is untested. (I change "./surname" to "surname" because it's the same)
Thanks Pankaj,
I required to specify all the elements in the this template.
Without specifying the all elements, Is there any other way to order the output node?
..... <xsl:apply-templates select="./given-names"/> <xsl:apply-templates select="./surname"/> <xsl:apply-templates select="./degrees"/> .....
Note: All other input element order are the same in output except surname and given-names.
Regards,
Ramkumar
-- Matthieu Ricaud IGS-CP Service Livre numirique
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Ordering in XSL:Apply-Tem, Ramkumar.V | Thread | Re: [xsl] Ordering in XSL:Apply-Tem, Ramkumar.V |
Re: [xsl] Ordering in XSL:Apply-Tem, Ramkumar.V | Date | Re: [xsl] Ordering in XSL:Apply-Tem, Ramkumar.V |
Month |