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: docbook-xsl/Cocoon/chunk.xsl


On Fri, Oct 18, 2002 at 11:54:59AM -0700, Bob Stayton wrote:
> On Fri, Oct 18, 2002 at 05:03:55AM -0700, Swen Stsop wrote:
> > 
> > How much modification do you suppose there would be to add navigation?  If you could include it you could modify how links to other parts of the book are made.  So instead of href="cho2.html" it could be href="doc.html?root.id=ch02#anchor".   Something like that.  Does that make sense? 
> 
> Possibly, if the Cocoon server can respond to such href syntax.
> You would need something like that anyway if you have
> internal links in your document.
> 
> I'm not sure how hard it would be to add the navigation.
> The navigational headers and footers come from the
> chunking stylesheet, but it always writes to a file.  
> 
> I would think you might be better off starting with
> the chunk stylesheet.  It still accepts a rootid
> parameter to select a subset.  But you would have to
> customize the 'write.chunk' template in html/chunker.xsl
> so that it writes to standard output 
> instead of using the exsl:document extension element.
> 

The stylesheets Sander Vesik wrote for Yelp, the GNOME help browser, do this,
returning just a single page to stdout with all the necessary navigational
header and footer stuff:

http://cvs.gnome.org/bonsai/cvsblame.cgi?file=yelp/stylesheets/yelp-customization.xsl&rev=&root=/cvs/gnome

Cheers,

John
 


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


Powered by eList eXpress LLC