Hi, Mike, It may be a larger example than you would like, but I used the first method you mention to create the stylesheet that lets FOP produce a PDF version of the XSLT 1.0 spec. You can find it at:
http://www.bryantcs.com/fop/SpecToPDF.xsl Search for the following content and you'll run right into the templates: <!-- Contents Templates --> Search for the first instance of <xsl:apply-templates mode="contents" /> to see where in the document the ToC gets inserted. That example uses the same trick and the Fox extension to produce bookmarks, if you're interested in those, too. HTH Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) Mike J Boyersmith <[EMAIL PROTECTED]> 04/18/2005 12:44 PM Please respond to [email protected] To [email protected] cc Subject Generating table of contents using FO and FOP? Hello, I'm looking for the best way to generate a table of contents. The impression I have is that XSL and mode is the way to do this. Can this also be done with XSL-FO tree and FOP? If so, Is there any good "free" examples on how to do this? TIA - Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
