[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: How to get the preceding-sibling of parameter context node[URGENT]
From: "Gennady Loskutov" <g_loskutov@xxxxxxxxxxxxx>
Date: Thu, 14 Feb 2002 09:22:57 +0100
> //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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member