
Hello Ray, You can run all the transformations with one mouse click by cascading the stylesheets in the transformation scenario. In the scenario edit dialog put the URL of wordml-normalise.xsl in the XSL URL combo box, click on the Additional XSLT stylesheets button and in the dialog enter the URLs of the next stylesheets of the cascade using the Add button: wordml-sections.xsl, wordml-blocks.xsl, wordml-final.xsl. You can add at the end of the list also html/docbook.xsl or fo/docbook.xsl or other DocBook stylesheet to be applied to what you call my-docbook.xml, that is the result of the WordML to DocBook stylesheets. If you use fo/docbook.xsl you can also enable FO processing in the FO Processor tab of the scenario edit dialog to generate the PDF result with the same transformation scenario, at the end of the XSLT cascade. Best regards, Sorin Ray Miller wrote:
oXygen-7.0.0 (eclipse-3.1.2 plugin)
Transforming a WordML document into Docbook involves "chaining" the XML document through a "pipeline" of XSL stylesheets. There are four XSL <http://www.w3.org/Style/XSL> stylesheets involved: |wordml-normalise.xsl|, |wordml-sections.xsl|, |wordml-blocks.xsl| and |wordml-final.xsl|.
Example usage:
xsltproc -o normalised.xml wordml-normalise.xsl my-word.xml
xsltproc -o sections.xml wordml-sections.xsl normalised.xml
xsltproc -o blocks.xml wordml-blocks.xsl sections.xml
xsltproc -o my-docbook.xml wordml-final.xsl blocks.xml
How does one configure oXygen to automate this process ???
Ray
------------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user