This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: output javascript braces not avt
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 10 Sep 2002 15:57:24 +0100
- Subject: RE: [xsl] output javascript braces not avt
- Reply-to: xsl-list at lists dot mulberrytech dot com
>
> What is the preferred method for including javascript braces,
> such that
>
> <body onload="if (true) { alert('foo'); alert('bar') }">
>
> doesn't get interpreted as an AVT?
>
>
Write them as "{{" and "}}".
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list