XSLT from 15.2 SDK
Post here questions and problems related to oXygen frameworks/document types.
XSLT from 15.2 SDK
Hi,
I'm developing a plugin with the 15.2 SDK. I want to run a series of XSL transformations on the current file. It looks like API support to do this has been added for the 18 version of the SDK. Is there any way to do this for 15.2? I've tried just running Saxon from the command line but get the error that the license file is not found, and unfortunately I need Saxon 9 EE for XSL version 3.0 support. Thanks.
I'm developing a plugin with the 15.2 SDK. I want to run a series of XSL transformations on the current file. It looks like API support to do this has been added for the 18 version of the SDK. Is there any way to do this for 15.2? I've tried just running Saxon from the command line but get the error that the license file is not found, and unfortunately I need Saxon 9 EE for XSL version 3.0 support. Thanks.
-
- Posts: 1009
- Joined: Wed Nov 16, 2005 11:11 am
Re: XSLT from 15.2 SDK
Post by alex_jitianu »
Hi,
What API are you referring to? In version 15.2 there is API for creating a licensed Saxon 9 transformer:
Of course, the Saxon 9 bundled with the Oxygen version running the plugin will be used.
Best regards,
Alex
What API are you referring to? In version 15.2 there is API for creating a licensed Saxon 9 transformer:
Code: Select all
pluginWorkspace.getXMLUtilAccess().createXSLTTransformer()
Best regards,
Alex
Re: XSLT from 15.2 SDK
Hi Alex,
I was able to get it working with 15.2 using the Saxon API directly.
final TransformerFactory tfactory = new TransformerFactoryImpl(
net.sf.saxon.Configuration.makeLicensedConfiguration(null, "com.saxonica.config.EnterpriseConfiguration"));
Another thread in this forum pointed me to the Configuration.makeLicensedConfiguration method.
Thanks.
I was able to get it working with 15.2 using the Saxon API directly.
final TransformerFactory tfactory = new TransformerFactoryImpl(
net.sf.saxon.Configuration.makeLicensedConfiguration(null, "com.saxonica.config.EnterpriseConfiguration"));
Another thread in this forum pointed me to the Configuration.makeLicensedConfiguration method.
Thanks.
Return to “SDK-API, Frameworks - Document Types”
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