24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Transforming Documents | 301XSLT ProcessorsThis section explains how to configure an XSLT processor and extensions for such a processor in <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong><strong>plugin</strong> .Supported XSLT Processors<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> comes with the following XSLT processors:• Xalan 2.7.1 - Xalan-Java is an XSLT processor for transforming <strong>XML</strong> documents into HTML, text, or other <strong>XML</strong>document types. It implements XSL Transformations (XSLT) Version 1.0 and <strong>XML</strong> Path Language (XPath) Version1.0.• Saxon 6.5.5 - Saxon 6.5.5 is an XSLT processor, which implements the Version 1.0 XSLT and XPath with a numberof powerful extensions. This version of Saxon also includes many of the new features that were first defined in theXSLT 1.1 working draft, but for conformance and portability reasons these are not available if the stylesheet headerspecifies version="1.0".• Saxon 9.3.0.5 Home Edition (HE), Professional Edition (PE) - Saxon-HE/PE implements the basic conformancelevel for XSLT 2.0 and XQuery 1.0. The term basic XSLT 2.0 processor is defined in the draft XSLT 2.0 specifications:it is a conformance level that requires support for all features of the language other than those that involve schemaprocessing. The HE product remains open source, but removes some of the more advanced features that were presentin Saxon-PE.• Saxon 9.3.0.5 Enterprise Edition (EE) - Saxon EE is the schema-aware edition of Saxon and it is one of the built-inprocessors of <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> . Saxon EE includes an <strong>XML</strong> Schema processor, and schema-awareXSLT, XQuery, and XPath processors.The validation in schema aware transformations is done according to the W3C <strong>XML</strong> Schema 1.0 specification oraccording to the W3C <strong>XML</strong> Schema 1.1 one. This can be configured in Preferences.Besides the above list <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> supports the following processors:• Xsltproc (libxslt) - Libxslt is the XSLT C library developed for the Gnome project. Libxslt is based on libxml2the <strong>XML</strong> C library developed for the Gnome project. It also implements most of the EXSLT set of processor-portableextensions functions and some of Saxon's evaluate and expressions extensions. The libxml2 version included in<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> is 2.7.6 and the libxslt version is 1.1.26<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> uses Libxslt through its command line tool (Xsltproc). The XSLT processor isincluded into the distribution kit of the stand-alone version for Windows and Mac OS X. Because there are differencesbetween different Linux distributions, on Linux you must install Libxslt on your machine as a separate applicationand set the PATH variable to contain the Xsltproc executable.If you do not have the Libxslt library already installed, you should copy the following files from <strong>Oxygen</strong> <strong>XML</strong><strong>Author</strong> <strong>plugin</strong> stand-alone installation directory to the root of the com.oxygenxml.editor_ <strong>13.2.0</strong> <strong>plugin</strong>:• on Windows: xsltproc.exe, zlib1.dll,libxslt.dll,libxml2.dll, libexslt.dll,iconv.dll• on Linux: xsltproc,libexslt.so.0, libxslt.so.1,libxsml2.so.2• on Mac OS X: xsltproc.mac, libexslt, libxslt, libxmlThe Xsltproc processor can be configured from the XSLTPROC options page.Caution: Known problem: file paths containing spaces are not handled correctly in the LIB<strong>XML</strong> processor.For example the built-in <strong>XML</strong> catalog files of the predefined document types (DocBook, TEI, DITA, etc)are not handled by LIB<strong>XML</strong> if <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> is installed in the default location on Windows(C:\Program Files) because the built-in <strong>XML</strong> catalog files are stored in the frameworks subdirectory ofthe installation directory which in this case contains at least a space character.• MS<strong>XML</strong> 3.0/4.0 - MS<strong>XML</strong> 3.0/4.0 is available only on Windows 2000, Windows NT and Windows XP platforms.It can be used for transformation .<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> uses the Microsoft <strong>XML</strong> parser through its command line tool msxsl.exe.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!