On 10/18/2018 04:13 AM, Rinaldi Espera wrote:
Hi Jirka,
Thank you for your email.
Anchor is okay if my help file is in one-page HTML format. For Webhelp,
I couldn't use anchor as HTML files are in chunks. I maybe missing
something here that you can guide me with.
Regards,
The HTML files generated by "Convert Document|Convert to Web Help"
(http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html#docbook_convert_menu)
may be "parametrized" by some XSLT stylesheet parameters documented here:
"Part 1. HTML Parameter Reference",
http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html
The most useful XSLT stylesheet parameters for your use case are:
- use.id.as.filename ; see
http://docbook.sourceforge.net/release/xsl/current/doc/html/use.id.as.filename.html
Please set this parameter to 1 to obtain predictable filenames of the
chunks you generate.
- chunk.section.depth ; see
http://docbook.sourceforge.net/release/xsl/current/doc/html/chunk.section.depth.html
which allows you to control which which sections (up to level 1? up to
level 2? up to level 3?, etc) should be chunked (that is, go into their
own HTML page).
For example, with XSLT stylesheet parameter use.id.as.filename=1, if a
chapter has an xml:id="ch1", then the corresponding HTML page will be
"ch1.html".
(Pitfall! xml:id="ch1" must be set on the <chapter> element, not on the
<title> child element of the <chapter>.)
(Note: it's attribute "id" for DocBook v4 and attribute "xml:id" for
DocBook v5+.)
If this <chapter> contains a <note> having xml:id="note1", then you'll
be able to display it in your web help by referring to "ch1.html#note1".
--> How to pass XSLT stylesheet parameters to XMLmind XML Editor is
explained in this FAQ:
---
How do I customize the HTML, PDF, RTF, etc, generated using the "Convert
Document" menu?
---
http://www.xmlmind.com/xmleditor/faq.html#custom_deliverables
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support