|
Subject: Re: [xsl] Selection of every second node From: "Heiko Rupp" <heiko.rupp@xxxxxxxxxxxxx> Date: Tue, 21 Aug 2001 14:10:53 +0200 |
From: "Conny Kreyßel" <Conny.Kreyssel@xxxxxxxxxxxxxx>
> I hope you can help me. How can I make a template that match with every
> second node?
Try something along
<xsl:template match="root">
<xsl:for-each select="node[position() mod 2 = 0]">
... do whatever
</xsl:for-each>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Selection of every second, Jeni Tennison | Thread | [xsl] upper case, john wa |
| Re: [xsl] Selection of every second, Jeni Tennison | Date | [xsl] upper case, john wa |
| Month |