How to select a transformer engine?

Here should go questions about transforming XML with XSLT and FOP.
john tucker
Posts: 1
Joined: Mon Sep 22, 2008 3:28 pm

How to select a transformer engine?

Post by john tucker »

In an xml instance I have:
<?xml-stylesheet type="text/xsl" href="file:/E:/work/MCD%20Documentation/xml%20products/Product%20Cat%20to%2019139.html.xslt"?>

When I invoke the transformation I get this box:

The stylesheet has the version 2.0, but you have chosen a transformer for XSLT v 1.0.
Some of the features for 2.0 will not be supported.
We recommend changing to the Saxon B/SA transformer.
Do you want to continue?

But under
DocumentTransformerPreferences
I already have
XSLT 1.0 validate with Saxon –B 9.0.0.6
XSLT 2.0 validate with Saxon –B 9.0.0.6

So how do I “change to the Saxon B/SA transformer?

Tx.
Radu
Posts: 9439
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to select a transformer engine?

Post by Radu »

Dear John,

Thank you for contacting us.

You must configure the default transformation scenario used to transform the XML file with the associated XSL.
For this, reopen the file and after running the transformation once, you have to press the "Configure Transformation Scenario" button located on the toolbar near the "Apply Transformation" button and edit the "xml-stylesheet processing instruction" scenario, changing the transformer to Saxon-B 9.

The options that you have set are used to validate the stylesheet, not transform it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply