Try

<xsl:comment>
   // javascript code here
</xsl:comment>

CDATA is the ideal but does not work well with that crap browser everyone seems to be using.

hth,

Manos

Upayavira wrote:
On 30 May 2003 at 10:38, Rainer Ammermann wrote:


Hallo Galia,
try using "&lt;" for "<" and "&gt;" for ">".
Since <!--  .... --> defines a comment already at the XML/XSLT-level,
it is ignored by the processor and thus not included into the HTML
result tree. Best wishes Rainer


AFAIK doing that will result in &lt; and &gt; in your resultant HTML.

Instead, wrap the entire Javascript area, including <!-- in an XML CDATA tag (sorry, can't remember syntax).

Regards, Upayavira

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to