At 2010-04-12 13:42 +0200, Martynas Jusevicius wrote:
I can point out several of the main advantages of switching to 2.0:
Thank you for doing so!
* updated data model with sequences and atomic types. No more result tree fragments and need for node-set() * schema-aware (variable definitions with XML schema data types or import of schema)
In theory, yes, but the version of the Saxon processor that is free is not schema-aware. A conformant XSLT processor is allowed not to be schema-aware.
* loads of new constructs, functions and more convenient operators (in XPath 2.0) * multiple result documents
That last one is an important one for my work with OOo. But I know the OOo team is working on a couple of issues I've submitted to improve how robust this is in real-world deployment.
Quite good description here: http://www.altova.com/XSLT_XPath_2.html If Saxon is already included, then it switching should be a piece of cake, right?
Unfortunately not necessarily, as some writers of XML filters may have used Saxon extension functions rather than stick solely to the XPath function library. These filters will not work when saxon9he.jar (the currently-available free version) is switched for the existing saxon9.jar (getting long in the tooth).
But I believe OOo only "advertised" support for XSLT 2, which means users going beyond that definition did so at their own risk.
I hope this is helpful. . . . . . . . . . . . . Ken -- XSLT/XQuery training: San Carlos, California 2010-04-26/30 Principles of XSLT for XQuery Writers: San Francisco,CA 2010-05-03 XSLT/XQuery training: Ottawa, Canada 2010-05-10/14 XSLT/XQuery/UBL/Code List training: Trondheim,Norway 2010-06-02/11 Vote for your XML training: http://www.CraneSoftwrights.com/i/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/i/ G. Ken Holman mailto:[email protected] Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/i/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
