Subject: RE: [xsl] Javascript in XSLT From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Mon, 24 Jun 2002 08:36:58 +0100 |
> No need to escape the parentheses, by the way. And you're > right, XSLT is XML, so it gets parsed first. ' is no > better than a literal ', because by the > time it gets into XPath/XSLT land, it's an apostrophe either > way, and XPath > doesn't have a mechanism for escaping them. Seems like they > could've used > backslashes.. wonder why they didn't. XPath 2.0 allows the apostrophe to be doubled, as in SQL: <xsl:value-of select="'I haven''t a clue'"/> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Javascript in XSLT, Mike Brown | Thread | Re: [xsl] Javascript in XSLT, Mike Brown |
[xsl] get rid of decimals, Jarkko . Moilanen | Date | Re: [xsl] get rid of decimals, James Fuller |
Month |