global change of transformer in transformation scenario

Having trouble installing Oxygen? Got a bug to report? Post it all here.
sderrick
Posts: 269
Joined: Sat Jul 10, 2010 4:03 pm

global change of transformer in transformation scenario

Post by sderrick »

We just switched over to using SaxonPE

All my transformers in my transformation scenarios are set to use SaxonHE.

I have a ton of them.

Anyway to switch them all in one Swell Foop?

Scott
ionela
Posts: 407
Joined: Mon Dec 05, 2011 6:08 pm

Re: global change of transformer in transformation scenario

Post by ionela »

Hi Scott,

Unfortunately you cannot do this from the user interface in one swoop.

However, this can be done indirectly by modifying the options/project file. To do this, export the global options from Option -> Export Global Options. Open the exported XML file in Oxygen and you will be able to identify the transformer name in an element with the attribute "name" set to "xslTransformer". You can use the Find > Find/Replace (Ctrl+F) tool to replace the string Saxon-HE with Saxon-PE. To provide a better filtering use in the XPath field:
//field[@name="xslTransformer"]
Save the file and import it back in Oxygen: Option -> Import Global Options

In case your scenarios are kept in the project(Project Scenarios in the Configure Transformation Scenario dialog) you should modify this directly in the the project file(.xpr).

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
sderrick
Posts: 269
Joined: Sat Jul 10, 2010 4:03 pm

Re: global change of transformer in transformation scenario

Post by sderrick »

Excellent.

Just what I was looking for and worked like a charm..

thanks,

Scott
Post Reply