Yes, there is. Define the styles with:

<xsl:attribute-set name="yourstylename">
        <xsl:attribute name="background-color">#ffffff</xsl:attribute>
        ...

and then use where you need them:

<fo:block xsl:use-attribute-sets="yourstylename">


Cordialement / Best regards
Rainer





Steve Roy <[EMAIL PROTECTED]>
2006-01-25 10:43
Please respond to fop-users

 
        To:     fop-users@xmlgraphics.apache.org
        cc: 
        Subject:        xsl-fo cascading styles?
Hello,

Is there a technique for re-using pre-defined styles in xsl-fo in a way
similar to using css styles in html?  It seems redundant and labor 
intensive
to constantly redefine the same text style for fo:blocks and fo:inline 
etc.

-steve

[...]


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

Reply via email to