This is the mail archive of the docbook-apps@lists.oasis-open.org 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: 'additional' HTML


On Fri, Feb 14, 2003 at 12:08:39PM +0100, Michael Wiedmann wrote:
> I want to generate 'additional' HTML Code out of my DocBook XML file:
> 
> <div class="navigatingbanner">
> <p>
> <a href="#section-id1">Section Title #1</a>
> <a href="#section-id1">Section Title #1</a>
> <a href="#section-id1">Section Title #1</a>
> ...
> </div>
> 
> 'href' lines should be generated for every <sect1> of my document.
> Using some CSS code this will show a navigation banner at a fixed position
> in the browser, which IMHO would be helpful for navigating in the
> non-chunked HTML output.
> 
> How can I achieve this usign DocBook XSL 1.60.1, Saxon V6.5.2?

"a navigation banner at a fixed position in the browser"
means you need to use an HTML Frameset. And a list of
sections would generally mean a table of contents, right?

DocBook XSL does not have direct support for outputing to a
frameset.  There is some information on putting a table of
contents in a Frameset at:

http://www.sagehill.net/xml/docbookxsl/HtmlCustomEx.html#HtmlFrames

But the non-chunking stylesheet does not produce a separate
table of contents file to put in a separate frame.
But you could write a custom stylesheet whose sole purpose
is to generate such a list from your document.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


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