471,354 Members | 1,684 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

state of XSLT2/XPath2 or XQuery in CPython

hi,
I was wondering if there is any way to use XSLT2 or maybe even XQuery
with "normal" CPython. Using Saxon/XSLT2 with Jython is no problem (I
have not tried Saxon.NET with IronPython but suspect no problem?) but I
could not find any way to use XSLT2 or XPath Features with CPython. All
the usual suspects 4suite or libxslt (via lxml) seem to have no support
yet. Is there any hope I oversaw something?

Would be especially interesting for a WSGI application, so a more or
less complicated hack via CPython->Jython->Saxon and back would probably
not be very useful (if that is possible at all).

thanks!
Chris
Dec 26 '07 #1
1 1906
Christof Hoeke wrote:
I was wondering if there is any way to use XSLT2 or maybe even XQuery
with "normal" CPython. Using Saxon/XSLT2 with Jython is no problem (I
have not tried Saxon.NET with IronPython but suspect no problem?) but I
could not find any way to use XSLT2 or XPath Features with CPython. All
the usual suspects 4suite or libxslt (via lxml) seem to have no support
yet. Is there any hope I oversaw something?
I wouldn't know any implementation. Are you looking for a specific feature?
Using Python functions in XPath/XSLT might get you pretty close to XPath2.

Stefan
Dec 26 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Benjamin G. Jones | last post: by
2 posts views Thread by Ale | last post: by
2 posts views Thread by tammo.mueller | last post: by
1 post views Thread by Peter Knörrich | last post: by
4 posts views Thread by yossi.kreinin | last post: by
2 posts views Thread by W. Jordan | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.