Search found 4 matches

by stsk
Wed Aug 10, 2016 1:38 pm
Forum: SDK-API, Frameworks - Document Types
Topic: s9api and Saxon extensions
Replies: 2
Views: 3153

Re: s9api and Saxon extensions

Hi Alex, You're right, it does work. My issue was that I was using the wrong constructor. For future reference in case anyone is interested: You have to supply the Processor with a proper Configuration (e.g. by calling Configuration.makeLicensedConfiguration()). The boolean constructor is insufficie...
by stsk
Tue Aug 09, 2016 2:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: s9api and Saxon extensions
Replies: 2
Views: 3153

s9api and Saxon extensions

I have an extension plugin for oXygen 18. One of the purposes of the plugin is to allow users to convert various XML formats. All conversions are done in XSLT via the s9api interface from saxon9ee.jar. I have had no issues with this approach until I tried adding a Saxon extension function, specifica...
by stsk
Fri Sep 11, 2015 12:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Proper use of TransformationFeedback
Replies: 2
Views: 2145

Re: Proper use of TransformationFeedback

Yes, I suspected something like that and did look at invokeLater(), but I never even considered just calling the methods from transformationFinished(). Thank you for the quick reply!
by stsk
Fri Sep 11, 2015 10:44 am
Forum: SDK-API, Frameworks - Document Types
Topic: Proper use of TransformationFeedback
Replies: 2
Views: 2145

Proper use of TransformationFeedback

Hi, As a novice Java programmer, I'm having trouble figuring out how to use TransformationFeedback properly within an AuthorOperation. I'm using AuthorEditorAccess.runTransformationScenarios() to execute a transformation on the current document. The transformation is not supposed to modify the docum...