[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Using translate() for single quotes in XSL1.0
> <xsl:value-of select="replace(.,'"',''')"/> > > But it doesn't because the entity references seem to be > resolved before the stylesheet is processed. Running it with > Saxon (XSLT2) produces this error: > > {replace(.,'"','''}: > Unmatched quote in expression > > Now I'm stuck. Any ideas? <xsl:variable name="apos">'</xsl:variable> <xsl:variable name="quot">"</xsl:variable> then replace(., $quot, $apos) Michael Kay
|
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
|