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: [docbook-apps] 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.
> 

Probably you could carry on with docbook.xsl, using the rootid parameter
(http://docbook.sourceforge.net/release/xsl/current/doc/html/rootid.html) to
specify the part of the document you want to transform.

Regards,
Gisbert Amm

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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