This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: class and graphic in FO?


At 2001-12-21 11:36 -0800, yan bai wrote:
>Just began to work on a project by using XSL-FO.  As
>in html page, we can use CSS to define a class to
>format a html page.  I am wondering how I can define a
>class to do a similar trick b/c it is very cumbersome
>for me to set the text formatting for every
><fo:block>.

Many properties are inheritable so you can specify them on an ancestral 
formatting object to be used by your blocks.

If you are using XSLT to create your XSLFO instance, you can employ a 
number of methods for ensuring all of your blocks are as you need.  We've 
published an electronic book focused on XSLT and XPath that may help:

   Practical Transformation Using XSLT and XPath
   (XSL Transformations and the XML Path Language)
   Tenth Edition - 2001-12-06 - ISBN 1-894049-08-X
   Copyright (c) 2001 Crane Softwrights Ltd.
   / 394 Pages / Subscription price includes free updates,
   /           / soft-copy of all included examples, and an
   /           / accessible rendition and 10 PDF renditions.
   /           / Free 140-page download preview excerpt.

The Ninth Edition of the electronic book is now out in paper, published by 
Prentice Hall under the title "Definitive XSLT and XPath":

   Definitive XSLT and XPath
   First Edition - 2001-12-15 - ISBN 0-13-065196-6
   Book details:  http://www.cranesoftwrights.com/links/dxx-info.htm
   Sample in PDF: http://www.CraneSoftwrights.com/links/dxx-sample.htm
   Prentice Hall PTR

>Also, How can I display a picture in a PDF file?
>What's the syntax?

See section 6.6.5 <external-graphic>.

We've published a book focused entirely on XSLFO:

   Practical Formatting Using XSLFO
   (Extensible Stylesheet Language Formatting Objects)
   First Edition - 2001-12-05 - ISBN 1-894049-07-1
   Copyright (c) 2001 Crane Softwrights Ltd.
   / 341 Pages / Subscription price includes free updates,
   /           / soft-copy of all included examples, and an
   /           / accessible rendition and 10 PDF renditions.
   /           / Free 179-page download preview excerpt.

The free downloads of the electronic previews, and the details on all books 
are available through the "Book Sales" link noted on our home page below.

>Thanks for any help and have a nice holiday.

And to you and everyone else on this list!  Happy holidays and Happy New Year!

........................... Ken


--
Training Blitz: 3-days XSLT/XPath, 2-days XSLFO - Feb 18-22, 2002

G. Ken Holman                mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
articles, training(instructor-live,Internet-live,web/CD,licensed)
Next public training:   12-19,12-20,2002-01-10,01-11,01-16,01-18,
-                02-11,02-12,02-13,02-15,02-18,02-21,03-11,03-14,
-                       03-15,03-18,03-19,04-08,04-09,04-10,04-12


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]