Subject: RE: [xsl] How to include a single quote in a parameter string From: "Joseph Kesselman" <keshlam@xxxxxxxxxx> Date: Tue, 30 Jul 2002 11:55:12 -0400 |
I've got rid of the error by using: <xsl:param name="fjeestitle" select='"NRC Research Press: Revue du ginie et de la science de l'environnement"' /> The original one is: <xsl:param name="fjeestitle" select="'NRC Research Press: Revue du ginie et de la science de l'environnement'" /> ' gets expanded into the ' character by the XML parser, long before XSLT sees your stylesheet, so the original has a ' within an XPath literal string quoted with ' characters (which is a problem) within an attribute quoted with " characters. The new version has a ' character within an XPath literal string quoted with " (which is fine) within an attribute quoted with ' characters. ______________________________________ Joe Kesselman / IBM Research XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to include a single q, Jiang, Peiyun | Thread | [xsl] suppress soap namespace?, Paul Coleman |
Re: [xsl] Using Attribute in a Pred, Vasu Chakkera | Date | Re: [xsl] lists again, Steven Foster |
Month |