OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Make a toc for own xml structure?

You could imitate the templates in autotoc.xsl that generate a table of 
contents (there is an autotoc.xsl in both html and fo directories).  The 
template named 'division.toc' generates the book-level TOC.  Copy it to a 
customization layer and start changing the select patterns to add your 
element names.  Then create a template with mode="toc" to match each new 
element, again imitating templates in that mode for elements that are 

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: <POD69@gmx.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, September 13, 2006 5:42 AM
Subject: [docbook-apps] Make a toc for own xml structure?

> Hello
> How can i make an own toc at the beginning of a book? i made an own 
> little xml structure and an xsl file and together with docbook it works 
> fine but i want the root element of my own xml structure as a toc at the 
> beginning of the book?
> how can i do that?
> regards pod69
> -- 
> "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]