xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kesh...@us.ibm.com
Subject Re: [Announce] Escaping double quotation marks in XSL
Date Wed, 24 Oct 2007 21:48:17 GMT
> He wants the " untouched, and he wants a \ infront of each ", and he
> doesn't even want the <,> around the img tag.

So what he wants really is a block of text , not an element at all...

<xsl:template match="image">
      <xsl:text>&amp;lt;img src=\"</xsl:text>
      <xsl:value-of select="."/>
      <xsl:text>\" / &amp;gt;</xsl:text>
</xsl:template>

Right? Literal boilerplate surrounding the value extracted from the <image>
element.
Mime
View raw message