|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: counting preceding siblings in with-param
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






