Subject: Re: translate quot to apos From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 10 Jul 2000 15:45:53 +0100 (BST) |
> The following does not work, XT complains about a missing quote in the line > containing the translate function. > <xsl:value-of select="translate(Tag1, '"', ''')"/> After the XML parser has finished, the above passes the following xpath expression to the XSL system "translate(Tag1, '"', ''') and that third argument isn't legal, so you can instead do <xsl:value-of select="translate(Tag1, '"', '"'")"/> which is the xpath expression "translate(Tag1, '"', "'") David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
translate quot to apos, Linda van den Brink | Thread | RJZF for "format" in xsl:number, John Robert Gardner |
Style Rules for Mixed Elements, Charles Cantrell | Date | Re: Combining XML data, T_MULLEN 58211 6th S |
Month |