Huditsch, Roman (LNG-VIE) wrote:
> 
> Is there any way to use the new Saxon 8.8 as XMLMind's XSLT engine?
> For one of our use case we would need to have its XSLT 2.0 and the SQL
> extensions available.

For now, we really do not intend to upgrade to Saxon 8+. Also note that
XSLT 2.0 is not yet a W3C recommendation. See http://www.w3.org/TR/xslt20/

However, you can try this:

[1] Add Saxon 8+ jars to the CLASSPATH. An easy way to do so, is simply
to copy the jar in the directory containing your extension.

[2] Specify system property "javax.xml.transform.TransformerFactory" to
the Saxon 8 implementation. An easy way to do so, is to specify a
property configuration element in the .xxe file of your extension.

The code of XXE contains this:
---
static {
 if (System.getProperty("javax.xml.parsers.SAXParserFactory") == null)
     System.setProperty("javax.xml.parsers.SAXParserFactory",
                        "com.jclark.xml.jaxp.SAXParserFactoryImpl");

 if (System.getProperty("javax.xml.transform.TransformerFactory") ==
     null)
     System.setProperty("javax.xml.transform.TransformerFactory",
                        "com.icl.saxon.TransformerFactoryImpl");
}
---
Therefore, if Saxon 8 implementation is also called
"com.icl.saxon.TransformerFactoryImpl", then you are out of luck.

If you have the slightest problem with this (which has never been
tested!), please do not post a support request.



> We just read through the documentation for finding a multiple select
> command (like "pick" but just with support for multiple selections), but
> unfortunately it seems that there is none. Is that correct? 

Correct.



> Will there be such a command in a next version?

No, but writing such command yourself (in Java) is really, really simple.



Reply via email to