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.

Configuring the Application | 406transformation, which will include the temporary files, and the result is incorrect or the transformation fails due to thisfact.XSLTThe XSLT preferences panel is opened from menu Window > Preferences > <strong>Author</strong> > <strong>XML</strong> > XSLT/FO/XQuery> XSLT.If you want to use an XSLT transformer implemented in Java different than the ones that ship with <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong><strong>plugin</strong> namely Apache Xalan and Saxon all you have to do is to specify the name of the transformer's factory classwhich <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> will set as the value of the Java propertyjavax.xml.transform.TransformerFactory. For instance, to perform an XSLT transformation with Saxon9.3.0.5 you have to place the Saxon 9.3.0.5 jar file in the <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> libraries folder (the lib subfolderof the <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> installation folder), set net.sf.saxon.TransformerFactoryImpl as theproperty value and select JAXP as the XSLT processor in the transformation scenario associated to the transformed<strong>XML</strong> document.The XSLT preferences are the following:• Value - Allows the user to enter the name of the transformer factory Java class.• XSLT 1.0 Validate with - Allows the user to set the XSLT engine used for validation of XSLT 1.0 documents.• XSLT 2.0 Validate with - Allows the user to set the XSLT Engine used for validation of XSLT 2.0 documents.Saxon6The Saxon 6 preferences panel is opened from menu Window > Preferences > <strong>Author</strong> > <strong>XML</strong> > XSLT/FO/XQuery> XSLT > Saxon > Saxon 6.Figure 173: The Saxon 6 XSLT Preferences PanelThe built-in Saxon 6 XSLT processor can be configured with the following options:• Line numbering - If checked, line numbers are maintained and reported in error messages for the <strong>XML</strong> sourcedocument.• Disable calls on extension functions - If checked, external functions called is disallowed. Checking this isrecommended in an environment where untrusted stylesheets may be executed. Also disables user-defined extensionelements, together with the writing of multiple output files, all of which carry similar security risks.• Handling of recoverable stylesheet errors - Allows the user to choose how dynamic errors will be handled. Eitherone of the following options can be selected:• recover silently - continue processing without reporting the error,• recover with warnings - issue a warning but continue processing,• signal the error and do not attempt recovery - issue an error and stop processing.Saxon HE/PE/EEThe Saxon HE/PE/EE preferences panel is opened from menu Window > Preferences > <strong>Author</strong> > <strong>XML</strong> >XSLT/FO/XQuery > XSLT > Saxon > Saxon HE/PE/EE.

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

Saved successfully!

Ooh no, something went wrong!