XSL transformation from 'OpenOffice.org XML' to 'XHTML 1.0'Contents
AbstractThe filter creates strict XHTML 1.0 from the OpenOffice.org XML format, which was the standard XML format of OpenOffice.org 1.x. Since OpenOffice.org 2.0 the default document format changed to the OASIS Open Document Format for Office Applications (OpenDocument). The filter can only be used with OpenDocument in conjunction with a running Office, compare next section 'Use without Office (stand-alone)'. The XHTML export filter has matured since it's beginning early 2000, were it was first part of a commercial product named StarPortal/Webtop. In conjunction with OpenOffice.org the stylesheets had been open-sourced. Now as a sample filter, it is an optional installation component of OpenOffice.org 1.x/2.x, installed together with the 'XSLT sample filter' package. Within the Office the filter can be used when choosing the XHTML export from File->Export... The XHTML transformation is being used for creation of the Developers's Guide of the OpenOffice.org Software Development Kit (SDK) from OpenOffice.org documents. Use without Office (stand-alone)The XHTML export filter can be used without an Office to create XHTML files of OpenOffice.org 1.x documents. The filter will NOT work stand-alone with the new default OpenDocument format, but are still working in OpenOffice.org 2.x as the Office offers the functionality to map internally from OpenDocument to the earlier XML format for XSLT filters (cp. Tools->XML Filter Settings).
The Apache Xalan processor is being used in the Office by default. It has been bundled with OpenOffice.org together with the Xerces XML parser. Overview over XSLT stylesheetsAll stylesheets can be installed by choosing as optional part of the Office installation ('XSLT sample filter'). They are located <OFFICE_PATH>/share/xslt. To view them online, you may browse the CVS and choose the 'download' link beyond the latest version of a stylesheet.
Add-On Support for Master Documents (stand-alone only)Aside of the plain XSLT stylesheets some Java extension has been implemented for the transformation of master documents (sxg) to XHTML. Basically the extension triggers a new XSL transformation for each referenced child document that is linked from a master document. This enables the following features once necessary for the creation of the Development Guide:
This add-on is only useable with XT. The sources are bundled in a ZIP. FeedbackAny comment is welcome and should be posted to the XML developer mailing list dev@xml.openoffice.org. For subscription information or archives, see the this project's mailing list section. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

