Subject: [xsl] Quoting quote From: "Lensch, Thomas" <Lensch@xxxxxxxx> Date: Fri, 2 Sep 2005 10:57:58 +0200 |
Hi, i want to escape a single quote ' Text with such quotes is used in JavaScript Calls. How Can i do this? Alternatively i could throw them away (because it's not much loss of information). But the following doesn't work: <xsl:value-of select="translate($tHtml, ''', 'x')"/> It produces javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: misquoted literal... expected single quote! What's the problem here? Best regards, Thomas.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Indentation question, knocte | Thread | Re: [xsl] Quoting quote, andrew welch |
RE: [xsl] Diferent behaviour using , Michael Kay | Date | Re: [xsl] Quoting quote, andrew welch |
Month |