On 01/18/2012 01:10 AM, Jeff Hooker wrote: > Hmmmm. Ok. Not completely sure I understood your answer.
Sorry. Even this time, I'm not sure to be able to be clear enough. > > The customer will be running 5.1.0 for at least a year; the integration > with the CMS is out of the QA process and we're just waiting for the > scheduled network outage later this month to roll out the new version of > software across Windows, Citrix, and Linux environments globally. > Switching to 5.1.1 at this point is a non-starter. > > So, I'm looking at a way of deploying the WHC into 5.1.0; given that you > say it would be appropriate for a custom configuration for a proprietary > schema, why is it not appropriate for custom configurations for DITA and > Docbook? > --> Let's suppose you have a custom configuration (let's call it "Foo") for a proprietary schema and you want to convert "Foo" documents to Web Help. In order to do that, you'll have to proceed as follows: [1] Copy whc.jar and whc_template/ into the directory where resides your add-on. [2] Write an XSLT stylesheet which generates XHTML files + an XML index file + an XML TOC file out of "Foo" documents. [3] Write a Java static method which invokes whc. Let's call this Java static method "FooWHC.compile". [4] Write an XXE <process> command which [a] invokes your XSLT stylesheet using <transform> and [b] invokes whc by the means of <invoke method="FooWHC.compile" /> In a nutshell, you are completely responsible of integrating whc in your custom configuration. References: * http://www.xmlmind.com/xmleditor/_distrib/doc/commands/process.html * http://www.xmlmind.com/xmleditor/_distrib/doc/commands/transform.html * http://www.xmlmind.com/xmleditor/_distrib/doc/commands/invoke.html --> In order to allow converting DocBook and DITA document to Web Help, XMLmind developers have implemented steps [1], [2], [3], [4] in XXE v5.1.1. However this implementation: * Is not documented. (for example, step #3 is http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditext/whc/package-summary.html) * Has probably internal dependencies with the xxe.jar of v5.1.1 and thus, probably won't work with the xxe.jar of v5.1.0. Therefore there are very few chances that you could achieve what you want. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

