![]() |
| Curly brackets in attribute values Declare the following XSLT stylesheet parameters <xsl:param name="cbl" select="'{'"/>
<xsl:param name="cbr" select="'}'"/>Then you can use them with the concat function. Example, <BODY bgcolor="&{concat($cbl,'randomrbg',$cbr)};">...</BODY>Alternatively, you can employ the xsl:attribute element. The use of literal strings which contain { and (or) } characters in the attribute values is not permitted. Xsltp.pl XSLT parser does not support the method of "double bracket". |