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>
- Subject: Re: [xsl] XSL FO
- From: "Carmelo Montanez" <carmelo at nist dot gov>
- Date: Wed, 17 Jan 2001 18:22:29 -0500
- References: <31142E7A489AD411AD7D00508BAF8504036D1D@NETFXCH1>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks a lot. I don't know what was I thinking, that is the perfect
solution.
Its been a long day.
Thanks
Carmelo Montanez
----- Original Message -----
From: "Kaganovich, Yevgeniy (Eugene)" <ykaganovich@netfish.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Wednesday, January 17, 2001 6:04 PM
Subject: RE: [xsl] XSL FO
> : 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
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list