|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: vars for attributes
-----Original Message-----
><xsl:variable name="border" select="0pt"/>
><xsl:variable name="bordercolor" select="#CCCCCC"/>
>but the following does not work, why?
><fo:table-cell number-rows-spanned="2" font-size="10pt"
text-align="start"
>color="black" padding="2pt" border="$border solid $bordercolor">
do this:
<fo:table-cell number-rows-spanned="2" font-size="10pt"
text-align="start"
color="black" padding="2pt" border="{$border} solid {$bordercolor}">
or to be a little cleaner the following:
<fo:table-cell number-rows-spanned="2" font-size="10pt"
text-align="start"
color="black" padding="2pt"
border="{concat($border,' ','solid','',$bordercolor)}">
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








