Hi,
I have a table with different column width.
I get column width in a variable. How do i assign to the column-width
property?
I gave it as,
fo:table-column column-width={$colwidth}cm/
where colwidth is a variable name holding the column width value.
But this value is not accepting and it
sujata wrote:
I gave it as,
fo:table-column column-width={$colwidth}cm/
where colwidth is a variable name holding the column width value.
But this value is not accepting and it gives the error :
Error in column-width property value {$colwidth}
Seems to me you are trying to use variables in
Oleg Tkachenko wrote:
Seems to me you are trying to use variables in xsl-fo document instead
of xsl stylesheet. Am I right?
Sujata wrote:
Exactly.. I need to give the column-width dynamically.
Is it possbile to do that? If yes how can i do that?
-Thanks and Regards
Sujata
sujata wrote:
Exactly.. I need to give the column-width dynamically.
Is it possbile to do that? If yes how can i do that?
Sure. But this should be done in XSLT stage, there is no notion of variables
in XSL-FO. Fromatting is two-step process, first source document is
transformed to