This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL FO
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] XSL FO
- From: "Kaganovich, Yevgeniy (Eugene)" <ykaganovich at netfish dot com>
- Date: Wed, 17 Jan 2001 15:04:16 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
: I will like to put together an "fo:block" element using the
: value of that
: variable
: to look something like this:
:
: <fo:block text-align="start">some text</fo:block>
:
Here's a direct quote from http://www.w3.org/TR/xslt.html#attribute-sets
The following example creates a named attribute set title-style and uses it
in a template rule.
<xsl:template match="chapter/heading">
<fo:block quadding="start" xsl:use-attribute-sets="title-style">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
<xsl:attribute-set name="title-style">
<xsl:attribute name="font-size">12pt</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:attribute-set>
- Eugene
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list