[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Insert elment in XSD


Subject: Re: [xsl] Insert elment in XSD
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Fri, 29 Feb 2008 10:29:56 +0200

Hi,

When you validate a stylesheet oXygen uses the processor set for validation in its options (for XSLT 1.0 or 2.0) or it performs the validate actions configured in a validation scenario if that is defined.

When you execute a transformation the processor specified in the transformation scenario is used (that may be different from the processor used for validation). To edit the transformation scenario click on the "Configure Transformation Scenario" from the Transformation toolbar then on Edit and make sure you have Saxon 9 selected as the processor used for that transformation.

If you have further problems just contact our technical support [1] and include a sample and a short description to help us reproduce the issue.

[1] http://www.oxygenxml.com/techSupport.html

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


igutierrez027@xxxxxxxxxxxxx wrote:
Hello everybody!

You say me that cannot use variables in match of the template with XSLT 1.0, but is possible with 2.0, ok?

I am using Oxygen 9.1. In the transform options I put saxon9B for validate XSLT 1.0 and XSLT 2.0.


When I execute the XSD occurs the error that says (it seems that is executing with Saxon6.5.5 and not with saxon9B):

E[Saxon6.5.5] Failed to compile stylesheet. 1 error detected.
W[Saxon6.5.5] The match pattern in xsl:template may not contain references to variables



and when I execute the stylesheet (XSL) the result is correct.


I have tried to execute with JAXP and the result is correct too.

I dont know how know if the XSLT processor is 1.0 or 2.0 and how change

it in Oxygen.


Somebody could help me?


Thank You.


Current Thread