Subject: RE: output javascript braces not avt
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 10 Sep 2002 15:57:24 +0100
|
>
> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|