Don't know if I'm using XSLT 1.0 or 2.0

Hi,

I have downloaded JWSDP 1.3 (http://java.sun.com/webservices/downloads/1.3/index.html). I want write XML to XML transformations. The JDK is Sun j2sdk1.4.2_08.

I do not know if JAXP v1.2.4 is using XSLT 1.0 or 2.0. I would like to use XSLT 1.0.

1. Can someone tell me how to check this?

2. Is this a configurable?

3. Is there a connection between the JAXP imlementation (Xalan or XSLTC) and XSLT version (1.0 or 2.0).

Thanks in advance!

[482 byte] By [sledge_hammera] at [2007-10-3 4:54:39]
# 1

I am pretty certain it's XSLT 1.0, because XSLT 2.0 was only finalized within the last few months. That is not enough time to write an implementation and get it published in a Sun JRE.

You should be able to test this by running a transformation whose prologue declares <... version="2.0" ...>, which should cause an exception.

Anyway, except for a few technicalities such as sorting of strings, XSLT 1.0 is a subset of XSLT 2.0.

DrClapa at 2007-7-14 22:59:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...