Mike Thompson wrote:
>
> However I'm still stumped on how to get the docb.toHTML1 process command
> to use a custom XSLT style sheet using this technique. I've tried a
> variety of getProperty("docb.toHTML1.transform") functions on classes
> such as App, but have not found where that property resides.
>
> I know I can set it in my custom.xxe file -- but I'd like to change it
> under program control.
System.setProperty(
"docb.toHTML1.transform",
"file:///home/mike/xsl/My%20Custom%20Stylesheet.xsl");
See "Using a custom XSLT style sheet" in
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/transform.html#custom_xslt
This works because the <property> configuration element mentioned in the
above document corresponds to an ordinary Java system property.
See also
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/property.html