|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: variables and substring
Thanks to David Carlisle for the why:> > > > '$N' is the string $N. You want $N which is the value of the variable N > Thanks to Nikolai Grigoriev for the how: > Remove the quotation marks It works fine! ... and opens a vista of transformation glory <xsl:template name="many_many_thanks"/> <xsl:variable name="N" select="string(Thanks again)"/> <xsl:value-of select="substring-before($N,'again')"/> <xsl:value-of select="substring-after($N,'Thanks ')"/> <xsl:call-template name="many_many_thanks"/> </xsl:template> -- Francois Lachance Post-doctoral Fellow projet HYPERLISTES project http://www.humanities.mcmaster.ca/~hyplist/ 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
|

Cart








