Examples from Chapter 19 of The XML Bible, Gold Edition: XSL Formatting Objects
Listing 19-1: A simple XSL-FO document
Listing 19-2: A transformation from a source vocabulary to XSL formatting objects
Listing 19-3: A basic style sheet for the periodic table
Listing 19-4: Using
fo:static-content
to generate a header
Listing 19-5: Using
fo:page-number
to place the page number in the footer
Listing 19-6: Using
fo:leader
to separate the footer from the body with a horizontal line
Listing 19-7: An XSL style sheet that references an external graphic
Listing 19-8: An XSL style sheet that contains an instream SVG picture
Listing 19-9: An XSL style sheet that formats the periodic table as a list
Listing 19-10: An XSL style sheet that formats the elements as a table
Copyright 1999, 2001
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified at June 28, 2001