This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] HTML comment within a template
- From: "W. Borgert" <debacle at debian dot org>
- To: Jacob Emcken <jacob at emcken dot dk>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 15 Jan 2004 19:32:43 +0100
- Subject: Re: [docbook-apps] HTML comment within a template
- References: <4006D7F4.7060609@emcken.dk>
Quoting Jacob Emcken <jacob@emcken.dk>:
> I want to make a template for the html chunker that makes the following
> output:
>
> <!--
..
> But <!-- are parsed as xsl comments and all my workarounds have resulted
> in output like the following:
>
> <!--
CDATA is your friend. IIRC, something like this works:
<xsl:template name="user.head.content">
<script language="JavaScript" type="text/javascript"><![CDATA[<!--
var foo='bar';
//-->]]></script>
</xsl:template>
Cheers, WB
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.