Erik B. wrote:

I have a question regarding WebHelp documentation.
I have a structure as follows (it's docbook 5):

Book
- chapter 1
-- section 1
--- subsection 1.1
--- subsection 1.2
-- section 2
--- subsection 2.1
--- subsection 2.2


In WebHelp each of these section is a link in the menu but is it possible for 
example when I click on section 1 to see on one page the whole content 
including subsection 1.1 and 1.2 ? Or for example to click on the chapter 1 
link and see the whole chapter on the page?


I'm not sure that you can achieve exactly what you want. However you may probably get close to it.

There are XSLT stylesheet parameters which may be used to adjust the ``chunk'' size of the HTML pages generated by the DocBook XSL Stylesheets.

There are other XSLT stylesheet parameters which may be used to specify the depth of the TOC generated by the DocBook XSL Stylesheets.

Please try parameters like:

-p chunk.section.depth 1

-p toc.section.depth 3

Reference:

* http://docbook.sourceforge.net/release/xsl/current/doc/html/chunk.section.depth.html

* http://docbook.sourceforge.net/release/xsl/current/doc/html/toc.section.depth.html

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to