473,218 Members | 1,454 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,218 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 1974
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Benjamin G. Jones | last post by:
I am having a very basic problem with XQuery. I want to use an XQuery API in Java (either Saxon or Qexo), and I have an XQuery expression that works as expeced from the command line if I specify...
0
by: Tony Lavinio | last post by:
Dear Stylus Studio Friends, The new year is scarcely one month old, but we already have lots to report! For starters, there's Stylus Studio 6 Release 2. The latest release of Stylus Studio...
0
by: Stylus Studio | last post by:
DataDirect XQuery(TM) is the First Embeddable Component for XQuery That is Modeled after the XQuery API for Java(TM) (XQJ) BEDFORD, Mass.--Sept. 20, 2005--DataDirect Technologies...
1
by: hicks | last post by:
I'm using a stylesheet that was created with a custom xslt engine which makes use of Xpath2.0 features, specifically the exists() function. Xalan 2.6 does not support Xpath2.0. So I need to...
2
by: Ale | last post by:
Hi all! I need to build a middleware for XQuery: I mean a software receiving a std xquery and outputting the xquery result on "database.xml". This middleware must use 7 or 8 different choosable...
2
by: tammo.mueller | last post by:
Hi, I'm trying to execute a xquery statement and I get always errors. It seems that only the prolog section is giving me errors. If I want to declare a namespace the xquery processor is coming...
1
by: Peter Knörrich | last post by:
Hello, I've found another inconsistency, and looking through the list archives I can find mentions of funky stuff like print float('inf') giving Infanity
4
by: yossi.kreinin | last post by:
Hi! Is there a way to save the state of a Python process for later inspection with a debugger? One way to do this is to dump core, but is the result usable for debugging with pdb (it can be...
2
by: W. Jordan | last post by:
Hello, It is so bad that .NET 3.0 does not support XSLT2. And there's no news for XSLT2 in .NET 3.5 either. Apart from the Saxon project, is there any .NET component which supports XSLT2? ...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.