Re: [Announce] Escaping double quotation marks in XSL

[email protected] Wed, 24 Oct 2007 17:48:17 -0400
Newsgroups gmane.text.xml.general
Message-ID <OFADAB0E24.7765CC95-ON8525737E.0076D9B7-8525737E.0077C6EB__1762.82192483104$1193262663$gmane$org@lotus.com>
> 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.