cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amend, Hanspeter {PDN~Tokyo}" <HANSPETER.AM...@Roche.COM>
Subject no output escaping with cocoon
Date Fri, 21 Sep 2001 10:20:49 GMT
I would like to have an xsl file generate an HTML containing Javascript.
Cocoon rejects output-escaping. 

<xsl:template match="SCRIPT">
  <script language="javascript">
    <xsl:text disable-output-escaping="yes">
      &lt;!-- if (
         location.host.tolowercase().indexof("ibiblio")
         &lt; 0) {
           location.href="http://www.ibiblio.org/xml/";
        }
      } // --&gt;
    </xsl:text>
  </script>
</xsl:template>


thanks,
 		Hanspeter Amend 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message