This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get the preceding-sibling of parameter context node[URGENT]


> //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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]