[xsl] escaping curly braces in attribute

Subject: [xsl] escaping curly braces in attribute
From: "Marty McKeever" <marty.mckeever@xxxxxxxxxx>
Date: Mon, 17 Feb 2003 16:17:52 -0500
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


Current Thread