You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by KS...@iflexsolutions.com on 2006/12/13 10:44:51 UTC
Assigning value to html tag
Hi,
I am reading one of the tag values (name <colsize1>) from xml. How can I
assign this tag value to html attribute?
Example <colsize1>12</colsize1> then I want set the column width (<th
width=12>) to 12 units.
Thanks and Regards
Bhaskar K S
Associate Consultant - Investment Banking
i-flex solutions limited - Bangalore
i-flex center, Kundalahalli
Tel. Office: 91-80-66596589
e-mail: ks.bhaskar@iflexsolutions.com <ma...@iflexsolutions.com>
Re: Assigning value to html tag
Posted by mahmoudi ould abdel vetah <ma...@gmail.com>.
hi,
you can do it with :
<xsl:variable name="width" select="colsize1"/>
<th width="{$width}">
i home this help! you.
2006/12/13, KS.Bhaskar@iflexsolutions.com <KS...@iflexsolutions.com>:
>
> Hi,
>
>
>
> I am reading one of the tag values (name <colsize1>) from xml. How can I
> assign this tag value to html attribute?
>
>
>
> Example <colsize1>12</colsize1> then I want set the column width (<th
> width=12>) to 12 units.
>
>
>
>
>
>
>
> Thanks and Regards
> Bhaskar K S
> Associate Consultant - Investment Banking
> i-flex solutions limited - Bangalore
> i-flex center, Kundalahalli
> Tel. Office: 91-80-66596589
> e-mail:* ks.bhaskar*@iflexsolutions.com <k....@iflexsolutions.com>
>
>
>