|
Subject: [xsl] Re: escaping curly braces in attribute From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx> Date: Mon, 17 Feb 2003 22:41:32 +0100 |
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] escaping curly braces in attr, Marty McKeever | Thread | Re: [xsl] doctype is confusing me.., Mike Brown |
| Re: [xsl] performance issues saxon, Vasu Chakkera | Date | [xsl] xsl:key may not contain refer, Xiaocun Xu |
| Month |