This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to get the preceding-sibling of parameter context node[URGENT]
- From: "Gennady Loskutov" <g_loskutov at myrealbox dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 14 Feb 2002 09:22:57 +0100
- Subject: Re: [xsl] How to get the preceding-sibling of parameter context node[URGENT]
- References: <20020214065606.97385.qmail@web20904.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> //How to get the preceding-sibling of context node
> here following does not work
>
> <xsl:variable name="cnt"
> select="count(preceding-sibling::$contextnode[@name='data'])"/>
Should it be
<xsl:variable name="cnt"
select="count($contextnode[@name='data']/preceding-sibling::*)"/> ?
Regards,
Gennady
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list