Subject: Re: [xsl] Display text and all the following nodes except <anchor> and <pb> From: "J. S. Rawat" <jrawat@xxxxxxxxxxxxxx> Date: Thu, 18 Sep 2008 13:58:15 +0530 |
It is working fine in the below example <head>O<sCap>FFICERS</sCap> of <person>the</person> R<sCap>EGIMENT</sCap> of I<sCap>NFANTRY</sCap><anchor id="JHXMA0192"/><pb n="FFCP0002-52"/></head>
<!-- process <head> specially: ignore child <anchor> or <pb> --> <xsl:template match="head"> <xsl:element name="h1"> <xsl:apply-templates select="@* |*[not(name(.)='anchor' or name(.)='pb')] |text() |comment() |processing-instruction()" /> </xsl:element> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Display text and all the , Syd Bauman | Thread | Re: [xsl] Display text and all the , Syd Bauman |
Re: [xsl] Display text and all the , Syd Bauman | Date | RE: [xsl] // expanding to descendan, Michael Kay |
Month |