Configure Saxon 9.5 HE for xslt 2.0 transformation.
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Thu Sep 19, 2013 10:04 am
Configure Saxon 9.5 HE for xslt 2.0 transformation.
Post by harikumar_23 »
Hi,
Please, could anybody tell me how to configure/add jar file saxon9he.jar for xslt transformations in Oxygen 14.
Please, could anybody tell me how to configure/add jar file saxon9he.jar for xslt transformations in Oxygen 14.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Configure Saxon 9.5 HE for xslt 2.0 transformation.
Hello,
Please note that because of the tight integration (validation, debugging, etc), you cannot upgrade (or change to a different edition: HE/EE) the version of Saxon 9 EE (Oxygen/lib/saxon9ee.jar) that comes bundled with Oxygen.
However, you can use a different version of Saxon in Oxygen as an external XSLT engine. You can configure it in Options > Preferences, XML > XSLT-FO-XQuery > Custom Engines. Press New, select engine type: XSLT and give it a proper name. e.g. "Saxon-HE 9.5".
In the command line of the custom engine use: (do not omit the quotes)
On OS X you should simply use 'java' instead of '${oxygenInstallDir}/jre/bin/java'.
You can then choose this newly defined engine from the Transformer combo when configuring a transformation scenario: Document -> Transformation -> Configure Transformation Scenario(s), New/Edit.
Note that this is not available in the XSLT Debugger, only the bundled version of Saxon can be used within the debugger.
Regards,
Adrian
Please note that because of the tight integration (validation, debugging, etc), you cannot upgrade (or change to a different edition: HE/EE) the version of Saxon 9 EE (Oxygen/lib/saxon9ee.jar) that comes bundled with Oxygen.
However, you can use a different version of Saxon in Oxygen as an external XSLT engine. You can configure it in Options > Preferences, XML > XSLT-FO-XQuery > Custom Engines. Press New, select engine type: XSLT and give it a proper name. e.g. "Saxon-HE 9.5".
In the command line of the custom engine use:
Code: Select all
${oxygenInstallDir}/jre/bin/java -jar path/to/saxon/lib/saxon9he.jar "-s:${xml}" "-xsl:${xsl}" "-o:${out}"
On OS X you should simply use 'java' instead of '${oxygenInstallDir}/jre/bin/java'.
You can then choose this newly defined engine from the Transformer combo when configuring a transformation scenario: Document -> Transformation -> Configure Transformation Scenario(s), New/Edit.
Note that this is not available in the XSLT Debugger, only the bundled version of Saxon can be used within the debugger.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service