On 01/07/2011 03:00 PM, Francois Tanguy wrote: > > Here is my use case: > > 1) allowing developers to prototype docbook documents with the editor > > 2) use the xslt sheets and the tool suite (saxon and fop particularly) > to automatically generate the final documents (pdf)
Unlike free-to-use Personal Edition, XMLmind XML Editor Professional Edition can do this out of the box (even if you need to use customized XSLT stylesheets and/or custom XSLT stylesheet parameters.) Please give "DocBook|Convert Document" a try. See http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html#docbook_convert_menu This works by executing process commands (e.g. XXE_install_dir/addon/config/docbook/xslMenu.incl or XXE_install_dir/addon/config/docbook5/xslMenu.incl). Process commands are similar to ant tasks, though simpler and more specialized. More information about process commands: http://www.xmlmind.com/xmleditor/_distrib/doc/commands/process.html > > > I already implemented this use case using the free edition and > integrating the different tools myself. This was a success and I thought > for a simpler integration I could use the user edition to reduce the > number of dependencies in the project and use the xmlmind integrated tools. > > Unfortunatly I am facing a problem that I cannot resolve: calling the > fop.jar library results in an error message - failed to load > main-classmanifest attribute > > > > Obviously the main class in the fop.jar library has been removed in > xmlmind distribution and I am not able anymore to call an xslt > transformation from an ant file... > > Are you aware of this limitation? Yes. > > If yes, is it intentional or is there a workaround ? > This is intentional. Apache FOP has never been part of the distributions of XMLmind XML Editor, whether Personal Edition or Professional Edition. Apache FOP 1.0 is available as a *plug-in* for Professional Edition. The plug-in is a specially packaged .zip file, which contains fop.jar among other .jar files. Please download and install this plug-in by first selecting menu item "Options|Install Add-ons" and then by selecting "Apache FOP 1.x XSL-FO processor plug-in" in the list displayed by the dialog box. More information in http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.app.part.InstallAddonsDialog.html -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

