Home
XSLT Processor
Website Editor
CGI XSLT Processor
The style and source
Global parameters
Stylesheets
Stylesheet elements
Functions
Files upload
Details
Characters model
Data types
Result tree fragments
Variables scope
Conflict resolution
The key function
The document function
Curly brackets in attributes
Extensions
Extension modules
XSL message handlers
XML tree class
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="&amp;{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".
Copyright © 2004 www.dopscripts.com