[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Function position()
Paul Terray wrote: > use : > <xsl:template match"StretchText"> > <xsl:variable name="pos"> > <xsl:number level="any"/> > </xsl:variable> > <xsl:value-of select="$pos"/> > </xsl:template> Just to point out, that has exactly the same effect as: <xsl:template match="StretchText"> <xsl:number level="any" /> </xsl:template> There's no need to use the variable unless you're repeating the number or wanting to manipulate it in some way. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ 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
|