June 1999
Intermediate to advanced
540 pages
21h 39m
English
<xsl:attribute-set>
<xsl:attribute-set name="
value
" ... />
Allows the naming of a collection of formatting attributes, which can
be applied using a formatting object. For example, the following will
assign a bold 24-point font to the name "heading-style", which can be
used with the xsl:use attribute.
<xsl:attribute-set name="heading-style"
font-size="24pt"
font-weight="bold"/>
<xsl:template match="heading">
<fo:block xsl:use="heading-style">
<xsl:apply-templates/>
</fo:block>
</xsl:template>Read now
Unlock full access