Subject: Re: [xsl] How to get the preceding-sibling of parameter context node[URGENT] From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 14 Feb 2002 11:13:25 -0500 |
<xsl:template name="mytemplate"> <xsl:param name="contextnode"/> <xsl:for-each select="$contextnode"> //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'])"/>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to get the preceding-, Gennady Loskutov | Thread | Re: [xsl] How to get the preceding-, Joerg Pietschmann |
[xsl] How to use xsl:key and xsl:so, Uslu, Cihan Y (MED) | Date | [xsl] xsl:number, Nestel, Frank ISC 6 |
Month |