xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From caporale <trancer...@hotmail.com>
Subject [Announce] Escaping double quotation marks in XSL
Date Tue, 23 Oct 2007 21:21:29 GMT

I have XSL inside Javascript.  The XML looks like this:
<image>imagename.jpg</image>.  Any time that tag's there, the output should
be &lt;img src=\"imagename.jpg\" / &gt;.  This template works, but it
doesn't escape the quotation marks:

<xsl:template match="image">
<xsl:attribute name="src">
<xsl:apply-templates />

What do I need to do to escape the quotation marks from that?  I've seen
about 400 examples on-line--none of which actually do what I want.

Joseph Caporale

View this message in context: http://www.nabble.com/Escaping-double-quotation-marks-in-XSL-tf4680435.html#a13373968
Sent from the Apache XML - General mailing list archive at Nabble.com.

To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message