Léa,

here is an example:

<myElement>
  <xsl:call-template name="myAttributeSet">
    <xsl:with-param name="myParam">
      myParamValue
    </xsl:with-param>
  </xsl:call-template>
  ...
</myElement>

<xsl:template name="myAttributeSet">
  <xsl:param name="myParam"/>
  <xsl:attribute name="myAttribute">
    <xsl:value-of select="$myParam"/>
  </xsl:attribute>
</xsl:template>

2012/6/8 Léa Massiot <lmhe...@orange.fr>:
>
> Hi and thank you for your answer, Pascal.
>
>
> This is a pure XSLT related question.
> Ok, but these are still "fo:cell" elements I'm manipulating... :)
>
> So, you are mentioning yet another more appropriate method than the one I
> used.
> Could you be so very kind to reformulate my example using this other method?
> I don't see how this could be done.
>
> Thank you for helping and best regards.

-- 
pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to