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: chunk.xsl for cocoon


I currently have some documents in docbook format, that were required to be displayed on the web.

Using xhtml/chunk.xsl (docbook-xsl-1.61.3) I have been able to convert the docbook documents into html pages. Using frames I was able to put the "Table of Contents" in the left frame and the "Contents of a Chapter" in the right frame (reference http://www.sagehill.net/docbookxsl/HtmlFrames.html). All works well.

Instead of batch generating the html files (and storing them on the file system), I would like to keep only the docbook files on the file system and generate the html upon request. Using cocoon and xhtml/docbook.xsl (docbook-xsl-1.61.3), I have been able to dynamically generate the html files (ie the output of docbook.xsl goes to standard out). All works well.

The only problem is, I create one huge html page.

I would like to create the same effect as I obtained when using xhtml/chunk.xsl and frames. I cannot see how to do this, as I can't see how to get chunk.xsl to write to standard out and not a file. Also I do not know how to tell chunk.xsl to only produce the section of document I am interested in (eg "table of Contents", chapter 1 etc..)

Any ideas/suggestion would be appreciated.

Mark Walsh,

WWW Applications Programmer
Division of Information Technology
Charles Sturt University
PO Box 789
Albury NSW 2640

Phone: +61 2 60 519 600
Fax:     +61 2 60 519 919
Email: mawalsh@csu.edu.au

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