xsl-list
[Top] [All Lists]

Re: [xsl] fo:table-cell with dynamical number of cells

2010-08-27 08:07:54
Red Light wrote:
                        
  <fo:table-cell number-columns-spanned="$numberColumn" border="0.5pt solid 
black">


while $numberColumn is a varible that i have defined  :


<xsl:variable name="numberColumn" select="count(/cv/Header)+1 "></xsl:variable>

when i print the value of $numberColumn it give em a result but assigning dynamicly 
"$numberColumn" to the attirute number-columns-spanned

doesn't work

You want an attribute value template
<fo:table-cell number-columns-spanned="{$numberColumn}" border="0.5pt solid black">
I think.


--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>