[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: CSS for XSL:FO?

Subject: RE: CSS for XSL:FO?
From: "Andy Joslin" <andy.joslin@xxxxxxxx>
Date: Wed, 27 Nov 2002 15:57:21 -0000
use css in xsl fo
> Is there any way to incorporate CSS so that I don't have to repeat
same style
> settings for each table header font?

You can't use CSS directly as you would with an HTML file (although the
syntax is similar), but if you are processing FO from an XSL stylesheet,
you can use attribute sets to minimize the amount of re-typing..

E.g.

<xsl:attribute-set name="default">
<xsl:attribute name="font-family">Helvetica</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="font-size">11pt</xsl:attribute>
</xsl:attribute-set>


<fo:block xsl:use-attribute-sets="default">Factor</fo:block>


Hope this helps



Andy










________________________________________________________________________
This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. 

Although ri3k Limited believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and ri3k Limited does not accept any responsibility for any loss or damage in any way from its use.

ri3k Limited
Registered in England: 10-12 Ely Place, London, EC1N 6RY
Company Number: 3909745

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • CSS for XSL:FO?
    • Lee, Insoo - Wed, 27 Nov 2002 09:54:21 -0500 (EST)
      • G. Ken Holman - Wed, 27 Nov 2002 12:14:31 -0500 (EST)
        • martin - Wed, 27 Nov 2002 17:00:26 -0500 (EST)
      • <Possible follow-ups>
      • Andy Joslin - Wed, 27 Nov 2002 10:54:58 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.