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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Customizing DocBook to Produce a real URL Tree


On Tue, Nov 26, 2002 at 12:41:12PM +0200, Shlomi Fish wrote:
> 
> Hi!
> 
> I'm not happily using the db2* tools to convert DocBook/XML into various
> formats. However, I noticed that jade put all the HTML file into one
> directory and calls them with obscure names such as:
> 
> book1.html
> c16.html
> x208.html
> 
> etc. Now what I want is that it will be real URL Tree:
> 
>      (Root)
> [id1]
> [id1]/[id2]
> [id1]/[id2]/[id3]
> [id4]
> 
> etc. As is the case with my Quad-Pres generated lectures:
> 
> http://vipe.technion.ac.il/~shlomif/lecture/Freecell-Solver/slides/
> http://vipe.technion.ac.il/~shlomif/lecture/Autotools/
> http://vipe.technion.ac.il/~shlomif/lecture/Gimp/1/slides/
> 
> [id*] are the IDs I assigned to the chapters and sections.
> 
> My question: how can I customize the DSSSL (or XSL while we're at it)
> stylesheets to produce such a tree? (and still maintain prev-next-up
> link consistency and link to the same CSS stylesheet)

As others have pointed out, you can use a stylesheet
parameter to get the ids into the filenames.

Creating the tree directory structure is harder.
I don't know about DSSSL, but XSL has no built-in
function to create directories.  I've heard of
XSL extension functions to do that, but don't
know one personally.  8^)

-- 

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


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


Powered by eList eXpress LLC