<s>
Saxon	O
is	O
an	O
XSLT	B-Application
and	O
XQuery	B-Language
processor	O
created	O
by	O
Michael	O
Kay	O
and	O
now	O
developed	O
and	O
maintained	O
by	O
his	O
company	O
,	O
Saxonica	O
.	O
</s>
<s>
There	O
are	O
open-source	B-Application
and	O
also	O
closed-source	B-Application
commercial	O
versions	O
.	O
</s>
<s>
Versions	O
exist	O
for	O
Java	B-Language
,	O
JavaScript	B-Language
and	O
.NET	B-Application
.	O
</s>
<s>
This	O
is	O
a	O
series	O
of	O
XSLT	B-Application
1.0	O
processors	O
.	O
</s>
<s>
The	O
6	O
series	O
is	O
only	O
available	O
for	O
the	O
Java	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
The	O
current	O
development	O
line	O
,	O
Saxon	O
12	O
,	O
implements	O
the	O
XSLT	B-Application
3.0	O
and	O
XQuery	B-Language
3.1	O
specifications	O
.	O
</s>
<s>
Saxon	O
12	O
can	O
process	O
XSLT	B-Application
1.0	O
and	O
XSLT	B-Application
2.0	I-Application
stylesheets	O
.	O
</s>
<s>
(	O
XSLT	B-Application
2.0	I-Application
and	O
3.0	O
are	O
highly	O
backwards	O
compatible	O
with	O
XSLT	B-Application
1.0	O
.	O
)	O
</s>
<s>
and	O
also	O
includes	O
selective	O
support	O
for	O
the	O
proposed	O
XSLT	B-Application
4.0	O
specification	O
.	O
</s>
<s>
There	O
are	O
two	O
separate	O
source	O
bases	O
:	O
the	O
Java	B-Language
source	O
,	O
and	O
the	O
JavaScript	B-Language
source	O
.	O
</s>
<s>
The	O
Java	B-Language
source	O
is	O
used	O
to	O
generate	O
products	O
for	O
three	O
platforms	O
:	O
SaxonJ	O
(	O
for	O
Java	B-Language
and	O
other	O
JVM	O
languages	O
such	O
as	O
Scala	O
)	O
,	O
SaxonCS	O
(	O
for	O
C#	O
and	O
other	O
.NET	B-Application
languages	O
such	O
as	O
VB.NET	O
)	O
,	O
and	O
SaxonC	O
(	O
with	O
APIs	O
for	O
C	O
,	O
C++	O
,	O
Python	O
,	O
and	O
PHP	O
)	O
.	O
</s>
<s>
The	O
JavaScript	B-Language
source	O
base	O
is	O
used	O
to	O
generate	O
SaxonJS	O
,	O
which	O
runs	O
in	O
Web	O
browsers	O
and	O
under	O
Node.js	B-Language
.	O
</s>
<s>
The	O
Java-built	O
versions	O
come	O
in	O
three	O
levels	O
:	O
Home	O
Edition	O
offers	O
the	O
minimal	O
level	O
of	O
standards	O
conformance	O
defined	O
in	O
the	O
specifications	O
,	O
as	O
an	O
open-source	B-Application
product	O
.	O
</s>
<s>
The	O
SaxonCS	O
product	O
is	O
built	O
from	O
the	O
Java	B-Language
source	O
base	O
by	O
means	O
of	O
a	O
custom	O
Java-to-C	O
#	O
transpiler	B-Language
written	O
in	O
XSLT	B-Application
(	O
see	O
)	O
.	O
</s>
<s>
Saxon-B	O
was	O
open-source	B-Application
software	I-Application
released	O
under	O
the	O
Mozilla	B-License
Public	I-License
License	I-License
,	O
while	O
Saxon-SA	O
was	O
a	O
closed-source	B-Application
commercial	O
product	O
.	O
</s>
<s>
These	O
terms	O
are	O
references	O
to	O
terms	O
in	O
the	O
XSLT	B-Application
2.0	I-Application
and	O
XQuery	B-Language
1.0	O
specification	O
.	O
</s>
<s>
These	O
data	O
types	O
can	O
then	O
be	O
used	O
in	O
XPath	B-Language
2.0	O
and	O
XSLT	B-Application
2.0	I-Application
commands	O
.	O
</s>
<s>
A	O
"	O
basic	O
"	O
XSLT	B-Application
2.0	I-Application
processor	O
is	O
unable	O
to	O
use	O
data	O
typing	O
information	O
.	O
</s>
<s>
Saxon	O
offers	O
strict	O
conformance	O
to	O
the	O
XSLT	B-Application
2.0	I-Application
,	O
XPath	B-Language
2.0	O
and	O
3.0	O
,	O
and	O
XQuery	B-Language
1.0	O
and	O
3.0	O
W3C	O
Recommendations	O
,	O
and	O
also	O
implements	O
XML	O
Schema	O
1.0	O
and	O
1.1	O
.	O
</s>
<s>
As	O
of	O
2021	O
the	O
current	O
version	O
(	O
10.6	O
)	O
conforms	O
with	O
the	O
W3C	O
Recommendations	O
for	O
XSLT	B-Application
3.0	O
,	O
XPath	B-Language
3.1	O
,	O
and	O
XQuery	B-Language
3.1	O
.	O
</s>
<s>
The	O
Saxon	O
source	O
code	O
is	O
written	O
in	O
Java	B-Language
.	O
</s>
<s>
During	O
2005-6	O
M.	O
,	O
David	O
Peterson	O
and	O
others	O
demonstrated	O
that	O
Saxon	O
could	O
be	O
cross-compiled	O
to	O
run	O
on	O
.NET	B-Application
using	O
the	O
IKVM.NET	B-Language
cross-compiler	O
,	O
launching	O
Saxon.NET	O
as	O
a	O
separate	O
product	O
independent	O
of	O
the	O
original	O
developer	O
.	O
</s>
<s>
With	O
the	O
release	O
of	O
Saxon	O
8.7	O
,	O
Saxonica	O
adopted	O
this	O
technology	O
and	O
from	O
that	O
release	O
onwards	O
,	O
all	O
versions	O
have	O
been	O
released	O
simultaneously	O
for	O
Java	B-Language
and	O
.NET	B-Application
.	O
</s>
<s>
The	O
.NET	B-Application
version	O
of	O
the	O
product	O
omits	O
features	O
that	O
are	O
specific	O
to	O
the	O
Java	B-Language
platform	O
(	O
such	O
as	O
integration	O
with	O
JDOM	B-Language
,	O
Dom4j	B-Language
,	O
and	O
XOM	B-Language
)	O
and	O
instead	O
provides	O
features	O
that	O
integrate	O
with	O
the	O
XML	O
processing	O
capabilities	O
of	O
the	O
.NET	B-Application
platform	I-Application
.	O
</s>
<s>
This	O
is	O
achieved	O
by	O
adapting	O
the	O
Java	B-Language
source	I-Language
code	I-Language
so	O
that	O
it	O
can	O
be	O
cross-compiled	O
to	O
JavaScript	B-Language
using	O
the	O
GWT	B-Language
cross-compiler	O
produced	O
by	O
Google	B-Application
.	I-Application
</s>
<s>
Saxon-CE	O
provides	O
the	O
first	O
implementation	O
of	O
XSLT	B-Application
2.0	I-Application
running	O
on	O
the	O
browser	O
,	O
and	O
also	O
extends	O
the	O
language	O
so	O
that	O
rather	O
than	O
merely	O
generating	O
HTML	O
,	O
it	O
can	O
directly	O
handle	O
user	O
interaction	O
.	O
</s>
<s>
In	O
February	O
2016	O
Michael	O
Kay	O
announced	O
that	O
Saxonica	O
was	O
working	O
on	O
a	O
replacement	O
for	O
Saxon-CE	O
written	O
in	O
pure	O
JavaScript	B-Language
,	O
and	O
dubbed	O
Saxon-JS	O
.	O
</s>
<s>
Michael	O
Kay	O
,	O
the	O
author	O
of	O
Saxon	O
,	O
was	O
the	O
editor	O
of	O
the	O
XSLT	B-Application
2.0	I-Application
specification	O
and	O
is	O
also	O
editor	O
of	O
the	O
XSLT	B-Application
3.0	O
draft	O
.	O
</s>
<s>
The	O
Saxon	O
versions	O
that	O
are	O
available	O
for	O
the	O
Java	B-Language
,	O
C	O
(	O
including	O
PHP	O
and	O
Python	O
)	O
,	O
and	O
.NET	B-Application
platforms	I-Application
are	O
built	O
from	O
a	O
single	O
codebase	O
.	O
</s>
<s>
The	O
latter	O
version	O
is	O
built	O
using	O
a	O
transpiler	B-Language
.	O
</s>
<s>
For	O
each	O
of	O
these	O
technology	O
platforms	O
,	O
there	O
is	O
an	O
open-source	B-Application
product	O
,	O
Saxon-HE	O
,	O
that	O
is	O
licensed	O
under	O
MPL-2.0	B-License
.	O
</s>
<s>
It	O
provides	O
basic	O
XSLT	B-Application
3.0	O
,	O
XPath	B-Language
3.1	O
,	O
and	O
XQuery	B-Language
3.1	O
functionality	O
,	O
as	O
defined	O
by	O
the	O
respective	O
specifications	O
.	O
</s>
<s>
In	O
addition	O
,	O
Saxon-HE	O
implements	O
certain	O
features	O
that	O
the	O
XSLT	B-Application
3.0	O
specification	O
declares	O
as	O
optional	O
and	O
that	O
were	O
previously	O
reserved	O
for	O
the	O
commercial	O
versions	O
,	O
such	O
as	O
dynamic	O
XPath	B-Language
3.1	O
evaluation	O
and	O
higher-order	O
functions	O
in	O
XSLT	B-Application
3.0	O
.	O
</s>
<s>
The	O
fourth	O
technology	O
platform	O
is	O
JavaScript	B-Language
.	O
</s>
<s>
Previously	O
the	O
open-source	B-Application
XSLT	B-Application
processor	I-Application
Saxon-CE	O
was	O
cross-compiled	O
from	O
the	O
common	O
Java	B-Language
source	O
using	O
GWT	B-Language
.	O
</s>
<s>
SaxonJS	O
is	O
a	O
completely	O
new	O
implementation	O
in	O
JavaScript	B-Language
.	O
</s>
<s>
The	O
XSLT	B-Application
sources	O
can	O
either	O
be	O
compiled	O
using	O
Saxon-EE	O
or	O
using	O
a	O
built-in	O
XSLT-based	O
XSLT	B-Application
compiler	O
,	O
which	O
creates	O
less	O
optimized	O
code	O
.	O
</s>
<s>
On	O
the	O
other	O
hand	O
,	O
the	O
XSLT-based	O
XSLT	B-Application
compiler	O
allows	O
dynamic	O
compilation	O
and	O
execution	O
of	O
XSLT	B-Application
.	O
</s>
<s>
While	O
SaxonJS	O
supports	O
most	O
of	O
the	O
XSLT	B-Application
3.0	O
and	O
XPath	B-Language
3.1	O
features	O
available	O
in	O
Saxon-HE	O
,	O
SaxonJS	O
does	O
not	O
support	O
XQuery	B-Language
.	O
</s>
<s>
In	O
contrast	O
to	O
Saxon-HE	O
and	O
the	O
discontinued	O
Saxon-CE	O
,	O
SaxonJS	O
is	O
not	O
open	O
source	O
,	O
but	O
it	O
can	O
be	O
used	O
for	O
free	O
in	O
the	O
browser	O
or	O
in	O
Node.js	B-Language
.	O
</s>
