[XML-SIG] XSLT 2.0 implementation in Python?
by Christof Hoeke other posts by this author
Jun 18 2009 3:54AM messages near this date
[XML-SIG] XSLT 2.0 implementation in Python?
|
Re: [XML-SIG] XSLT 2.0 implementation in Python?
& XSLT > I just wanted to ask if there's any Python XML implementation which
> supports XSLT 2.0 (e.g. <xsl:analyte-text>). The only thing I found was
> Saxon, but it's only for Java/.NET (and I don't want to use Jython).
I have looked for a native Python implementation for some time now but
no chance it seems. With Jython 2.5final out Saxon is an alternative (I
currently try to use e.g. web.py with it to be able to use XSLT 2 for
web site templating). You could also try Saxon with IronPython, should
work but I have not tried it yet.
Only option to use Java/Saxon via Python would to be call Saxon a an os
command and pipe the result back to your Python program. Does work but
you still need Java in addition to Python but at least write your
program in (C)Python. Also you cannot transform any e.g. lxml tree
directly, you would have to reserialize any XML.
But if you find anything let me know!
Chris
_______________________________________________
XML-SIG maillist - XML-SIG@[...].org
http://mail.python.org/mailman/listinfo/xml-sig
Thread:
Andreas Sommer
Christof Hoeke
Stefan Behnel
Stefan Behnel
|