Subject: Re: [xsl] counting preceding siblings in with-param From: John Sands <WonkoWatson@xxxxxxxxx> Date: Wed, 23 Jul 2003 11:35:58 -0400 |
Thanks for the response. > It's unspecified whether a system evauates a parammeter (or > variable) each time it is used, or just evaluates it once, and > stores teh result, but either way it is specified that you'll get > the same result every time. So I'm expecting with-param to do something it's not designed to do? Calculate a new value for each node? <xsl:apply-templates select="section | comment | instructions"> <xsl:with-param name="section-number" select="???" /> </xsl:apply-templates> The expression in ??? is not designed to give a different value depending on the current node? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] counting preceding siblin, David Carlisle | Thread | RE: [xsl] counting preceding siblin, Kienle, Steven C [IT |
Re: [xsl] counting preceding siblin, John Sands | Date | RE: [xsl] Change text on given node, Jim Fuller |
Month |