getting a single quote into a parameter
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
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