Generating eclipse help output

Here should go questions about transforming XML with XSLT and FOP.
bwinspur
Posts: 37
Joined: Tue Nov 25, 2003 3:31 am

Generating eclipse help output

Post 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.
Bill W.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Generating eclipse help output

Post 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
bwinspur
Posts: 37
Joined: Tue Nov 25, 2003 3:31 am

Re: Generating eclipse help output

Post 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.
Bill W.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Generating eclipse help output

Post 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
bwinspur
Posts: 37
Joined: Tue Nov 25, 2003 3:31 am

Re: Generating eclipse help output

Post by bwinspur »

Thanks again.
Bill W.
Post Reply