Page 1 of 1

Generating eclipse help output

Posted: Mon Jul 27, 2009 8:48 am
by bwinspur
The 10.3 User Manual for Oxygenxml in eclipse mentions eclipse-help
output in section Transforming documents > Output formats, but I
can not find a means of transforming my docbook help document,
using that option in the transform config dialog.

I used OxygenXL's Docbook HTML Chunk transform, and manually created
the eclipse toc.xml to successfully produce a help plugin, but I need
to automate the whole process of producing html, plugin.xml and toc.xml
from my docbook document.

Is there a way to do this with my freshly purchased OxygenXML 10?

Bill.

Re: Generating eclipse help output

Posted: Tue Aug 04, 2009 4:47 pm
by sorin_ristache
Hello,

You don't have to create the toc.xml file manually. Just create a new transformation scenario or start from a predefined one like the Docbook HTML Chunk one by duplicating it. Set the Eclipse help stylesheet in the XSL URL field, that is the ${frameworks}/docbook/xsl/eclipse/eclipse.xsl stylesheet. Set the parameter base.dir to the path of the directory where you want to generate the HTML files and the XML files (toc.xml and plugin.xml ready to use in an Eclipse plugin for the generated help output). Set the manifest.in.base.dir parameter to 1 for generating the XML files in the same directory as the HTML files otherwise they are generated in the directory of the XSLT stylesheet (the default behavior).


Regards,
Sorin

Re: Generating eclipse help output

Posted: Thu Aug 06, 2009 3:59 am
by bwinspur
Sorin,

thanks for your help - exactly what I needed and it worked fine.

One point though. How did you know where the eclipse.xsl st'sheet
is located, and how does one find out what else is available?

Thanks again,

Bill.

Re: Generating eclipse help output

Posted: Thu Aug 06, 2009 9:06 am
by sorin_ristache
I just looked in the stylesheets of Docbook XSL. Oxygen includes Docbook XSL so the output formats of Docbook XSL can be generated in Oxygen.


Regards,
Sorin

Re: Generating eclipse help output

Posted: Sun Aug 09, 2009 7:59 am
by bwinspur
Thanks again.