|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: escaping curly braces in attribute
> i need to output
>
> onclick="if(foo) {return bar}"
>
> but of course the {}'s are causing errors.
> so i tried
>
> onclick="if(foo) \{return bar\}"
>
> but that's not it...
Use:
onclick="if(foo) {{return bar}}"
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








