[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] HTML comment within a template
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]