[batch][api] develop batch program using oxygen api?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Luke_moonwalker
Posts: 5
Joined: Wed Jun 27, 2012 10:34 am

[batch][api] develop batch program using oxygen api?

Post by Luke_moonwalker »

Hi there,

My team has just bought the oXygen XML Developer, and we are excited to have transformation working on it. :D
(The XQuery and XSLT transformation works well in the GUI)

As the transformation operation will be running as a routine, we wish the operation can be run by a batch program on a unix server.

We are planning to have a Java program which runs the transformation by using some oxygen_api.jar library (assume that exists)

Is the oXygen SDKs for Eclipse provide such function?
Or other suggestions? Thank you!


Best,
Luke
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: [batch][api] develop batch program using oxygen api?

Post by adrian »

Hello,

Currently (v14.0), it is not possible to run transformation scenarios from the command line, nor is there any API available to support this. I've added your vote for this feature request.

It is possible to run transformations (though not GUI defined scenarios) programmatically from within Oxygen, but this only works from an Oxygen extension/plugin and all the parameters of the transformation must also be set up programmatically.
I'm not sure if this is of any use to you, but this API is located in: ro.sync.exml.workspace.api.util.XMLUtilAccess: createXQueryTransformer, createXSLTTransformer
The SDK can be found here:
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Luke_moonwalker
Posts: 5
Joined: Wed Jun 27, 2012 10:34 am

Re: [batch][api] develop batch program using oxygen api?

Post by Luke_moonwalker »

Thanks for the suggestion, Adrian.

We are going to have each xml data arriving per minute to our system and run the transformation automatically, not sure if the plugin could do this.

A bit surprised there is no wrapper API provided, but it's glad to hear this feature is added to the request.


Best,
Luke
Post Reply