Subject: Re: [xsl] To find out immediate following tag(S) From: "J. S. Rawat" <jrawat@xxxxxxxxxxxxxx> Date: Tue, 07 Oct 2008 12:04:04 +0530 |
output of this is <doc>ten</doc> only
Well...in that case you need to use xsl:for-each-group, I guess...for example...
<xsl:template match="a"> <xsl:for-each-group select="current-group() except ." group-starting-with="a1 | b1"> <xsl:apply-templates select="." mode="group"/> </xsl:for-each-group> </xsl:template>
Hope this helps!!
....Mandar Jagtap
On Tue, Oct 7, 2008 at 9:47 AM, J. S. Rawat <jrawat@xxxxxxxxxxxxxx> wrote: > Following line is copying all the following siblings. But we need immediate > following siblings!!! > >> following-sibling::*....
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] To find out immediate fol, Mandar Jagtap | Thread | Re: [xsl] To find out immediate fol, Mandar Jagtap |
Re: [xsl] To find out immediate fol, Mandar Jagtap | Date | RE: [xsl] <xsl:output indent="yes"/, Bradley, Peter |
Month |