|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Escaping single quote
> Thanks for the quick reply, I'm thinking more of something like this:
>
> <xsl:value-of
> select="concat('/JSPRoot',DataLocation,'[@ID='5']','/',Databas
> eVariableName)"/>
>
> The single quotes around the 5 isn't liked because of the
> single quote around the '[@ID....]'
>
> Any ideas?
Write
<xsl:variable name="apos">'</xsl:variable>
and then use $apos in your concat() call.
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
|
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








