Here should go questions about transforming XML with XSLT and FOP.
- Posts: 37
- Joined: Wed Dec 23, 2009 6:13 am
I need to create a toc for a book, but I don't know where the toc is generated with FO. Am I supposed to create a new XML with a root element 'toc' and is the toc put there somehow when generated? I have been able to create chapter tocs in the right place for each 'chapter' chunk, and the styles I have set do work, but where does a book toc go?
Here's the XSL code I'm using with Oxygen 11.2, RenderX and DocBook 5:
/chapter toc, title
- Posts: 2668
- Joined: Tue May 17, 2005 4:01 pm
Since the TOC is generated automatically for a book with the current generate.toc values what exactly are you trying to accomplish?
How did you create chapter TOCs? Weren't they generated automatically? Or you mean you were able to stylize them?
There are some explanations on how generate.toc is configured here:
http://docbook.sourceforge.net/release/ ... e.toc.html
but I'm guessing you've already gave them a look.
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger