xsl-list
[Top] [All Lists]

RE: output javascript braces not avt

2002-09-10 07:57:24

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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>