xsl-list
[Top] [All Lists]

escaping curly braces in attribute

2003-02-17 14:17:52
Okay i feel dumb.  I used to know this:

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...

anyone?


i suppose xsl:attribute should work...
 but is there another way?


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



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