Hi,

Why are you using d-o-e?  Couldn't you just use:

<a href="#">
  <xsl:attribute name="onMouseOver">
    <xsl:text/>simpleMouseOver('<xsl:text/>
    <xsl:apply-templates mode="getDivId" select="info" />
    <xsl:text/>')<xsl:text/>
  </xsl:attribute>
  ...
</a>

This will give you:

<a href="#" onMouseOver="simpleMouseOver('')">

..with the result of the info tempate in the quotes.  Only in
exceptional circumstances should you need d-o-e.

cheers
andrew


> -----Original Message-----
> From: John Ollier [mailto:[EMAIL PROTECTED]
> Sent: 19 November 2002 11:55
> To: [EMAIL PROTECTED]
> Subject: can't disable output escaping
> 
> 
> Hello all
> 
> I want to get this into my output document:
> 
> <a  onMouseOver=" simpleMouseOver( ' id_a ' ) " >
> 
> I thought I could do it like this:
> 
> <a>
> <xsl:attribute name="href">#</xsl:attribute>
> <xsl:attribute name="onMouseOver"> simpleMouseOver 
> <xsl:text disable-output-escaping="yes">( ' </xsl:text>
> <xsl:apply-templates mode="getDivId" select="info" /> 
> <xsl:text disable-output-escaping="yes"> ') </xsl:text>
> </xsl:attribute>
> .....
> 
> But what I get is:
> 
> <a href="#" onMouseOver="simpleMouseOver ( &apos; id_a &apos; ) 
> ......
> 
> Any idea what I'm doing wrong? 
> 
> Thanks in advance.
> 
> John
> 
> 
> 
> 

Reply via email to