Subject: [xsl] getting a single quote into a parameter From: Saverio Perugini <sperugin@xxxxxxxxxxxxxxxx> Date: Fri, 22 Feb 2002 16:56:36 -0500 (EST) |
Hello, I am trying to get a single quote character (e.g., ') into an <xsl:param> and the value is being passed in via the command line. I am outputting HTML. I am using Xalan. $ testXSLT -in in.xml -xsl ss.xsl -out out.html -param tempParam "'hello ' world ' '" The entire parameter value needs to be single quoted for Xalan. The following is in ss.xsl. <xsl:param name="tempParam"></xsl:param> <h3><xsl:value-of select="$tempParam"/></h3> In the HTML, I want the following <h3>hello 'world'</h3> or the string "hello 'world'" displayed in the browser Ideas, comments, solutions? Thank You and Best Regards, Saverio Perugini XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: FO Puzzle: Table Continue, W. Eliot Kimber | Thread | Re: [xsl] getting a single quote in, Peter Davis |
[xsl] Re: FO Puzzle: Table Continue, W. Eliot Kimber | Date | RE: [xsl] attribute order, Stuart Celarier |
Month |