thats the ticket, thank you, i looked in  my book but could not find

-----Original Message-----
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 4:31 PM
To: [EMAIL PROTECTED]
Subject: Re: how to pass param to template that will be used as an tag
attribu te


[EMAIL PROTECTED] wrote:
>  <fo:block font-weight="bold" text-align="$col_alignment">

Ah, the real problem: Either use
  <fo:block font-weight="bold" text-align="{$col_alignment}">
(Google for "attribute value template")
or use the more verbose form (which allows for dynamic attribute
names):
  <fo:block>
   <xsl:attribute name="text-align">
     <xsl:value-of select="$col_alignment"/>
   </xsl:attribute>
  ...

Either way, it's an XSLT question, which had been better asked on
the XSL list:
  http://www.mulberrytech.com/xsl/xsl-list/


J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to