On 06/29/2011 01:38 PM, Philippe Nobili wrote:
> 
> The end-user documentation of our XXE addon is available in various 
> formats, including JavaHelp & PDF (it is written in DocBook).
> 
> Could you advise us regarding the best way to make it available within 
> XXE when the addon is active (e.g. a matching XML document is being 
> viewed/edited) ?
> 

All the configurations (DocBook, DITA, XHTML, etc) included in the
distribution of XXE are nothing more than add-ons written by our
engineers, therefore suffice to copy what has been done in any of such
configurations.

XHTML example:

* XXE_install_dir/addon/config/xhtml/common.xxe contains:

---
  <help location="xhtml_help.jar" />
---

* xhtml_help.jar is a JavaHelp file where all the files contained in the
.jar are found in a folder called xhtml_help/ (same as the basename of
the jar). This folder is needed to allow dynamically merging all the
different parts which comprises the online help.

xhtml_help.jar has been generated using this convertdoc command:

convertdoc docb.toJavaHelpWithPrefix help.xml \
  -u xhtml_help.jar -s xhtml_help

help.xml is a DocBook 4 file.

Notice the process command which is docb.toJavaHelpWithPrefix. This
process command is specified in
XXE_install_dir/addon/config/docbook/xslMenu.incl



References:

* http://www.xmlmind.com/xmleditor/_distrib/doc/configure/help.html

* http://www.xmlmind.com/xmleditor/_distrib/doc/commands/convertdoc.html
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to