[XML-SIG] Python and XSLT 2.0
stefan_ml at behnel.de
Sat May 2 20:05:13 CEST 2009
Lee Clemmer wrote:
> I'm currently in the process of teaching myself Python for personal projects
> and at the same time XSLT for work. At work we run a Saxon XSLT 2.0
> compliant transformer on a J2EE server that does the transformations for us.
> I'm looking to do transformations outside of work on a non-Java platform
> using Python. Unfortunately, after a couple of hours of Googling there
> doesn't seem to a be an XSLT 2.0 transformer available for Python, only for
> Java and .NET environments... is this right? Is anything in the works?
My guess is that the advantages of XSLT 2.0 over XSLT1+EXSLT+Schema+Python
simply aren't big enough to spend money on it. You will notice that XSLT
2.0 implementations are still rare in general, not only for Python.
But did you check the XQuery homepage? Some of the implementations seem to
have at least some kind of Python support.
Not sure if any of them implement XSLT, though.
Note that there are also Python implementations for .NET (IronPython) and
You might also get lucky with running Saxon though GCJ and wrapping it with
Cython (something I always wanted to try, but never found a reason to spend
my time on). Or maybe take a look at JCC to use Saxon with it.
More information about the XML-SIG