473,324 Members | 1,856 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,324 software developers and data experts.

PyXml

Hello Everyone,

I've been looking into writing a utility to compare/analyse xml files, and
thought I'd have a look at PyXml, but the Sourceforge page says it's no
longer maintained.

Two questions:
What's the story with PyXml? Is it stable/complete or has effort moved
elsewhere?

Can anyone recommend a Python validating parser that validates vs Xml
Schema?

Many thanks,

Kev

Jun 27 '08 #1
4 1746
What's the story with PyXml? Is it stable/complete or has effort moved
elsewhere?
Large parts of PyXML are now part of the standard library. When I
stepped back as a maintainer, nobody volunteered to take over.
Can anyone recommend a Python validating parser that validates vs Xml
Schema?
The libxml bindings for Python can do that.

Regards,
Martin
Jun 27 '08 #2
What's the story with PyXml? Is it stable/complete or has effort moved
elsewhere?
Large parts of PyXML are now part of the standard library. When I
stepped back as a maintainer, nobody volunteered to take over.
Can anyone recommend a Python validating parser that validates vs Xml
Schema?
The libxml bindings for Python can do that.

Regards,
Martin
Jun 27 '08 #3
Martin v. Löwis wrote:
>Can anyone recommend a Python validating parser that validates vs Xml
Schema?

The libxml bindings for Python can do that.
.... although the OP will likely prefer using lxml, where it's three lines of
Python (ok, plus an import), compared to quite a bit of code in the official
libxml2 bindings.

http://codespeak.net/lxml

Stefan
Jun 27 '08 #4
Stefan Behnel wrote:
Martin v. Löwis wrote:
>>Can anyone recommend a Python validating parser that validates vs Xml
Schema?

The libxml bindings for Python can do that.

... although the OP will likely prefer using lxml, where it's three lines
of Python (ok, plus an import), compared to quite a bit of code in the
official libxml2 bindings.

http://codespeak.net/lxml

Stefan
--
http://mail.python.org/mailman/listinfo/python-list
Stefan, Martin,

Thanks for your replies.

Kev

Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: leo | last post by:
hi there i want to write a little SOAP client and thought about using ZSI. now i have read that ZSI only works with PyXML versions later than 0.6 and earlier than 0.7. unfortunaltly i can...
2
by: David Dorward | last post by:
I'm attempting to read an XHTML 1.1 file, perform some DOM manipulation, then write the results to a different file. I've found myself rather stuck at the first hurdle. I have the following: ...
2
by: Sebastian Fey | last post by:
hi, id like to do the following: (1) open a .xml, change something and save it. problem is: how to save/serialize? i tried xml.dom.ext.Print, but this resolves all entities and serializes...
1
by: Alain | last post by:
Hi ! I'm looking for an XPath implementation (even partial) on PyXML. I'm using libxml2 on Windows XP. It works well but I have to port my application on RISCOS (OS on ARM processor) where only...
2
by: Stefan Behnel | last post by:
Hi! I'm using PyXML 0.8.3 on a number of machines. When I now run import xml.sax.saxlib python touches both the python/xml/sax and python/site-packages/_xmlplus modules but not _xmlplus/sax...
1
by: Dan | last post by:
I'm writing a Python program that does some XML parsing, though nothing heavy, and I want to avoid requiring the user to install additional libraries like PyXML. The documentation for my version...
1
by: PyPK | last post by:
How do I add a new attribute to the existing xml Document tree???
0
by: ankit | last post by:
Python itself provides parsers for xml and Dom support. So, if I install pyxml what additional advantage or features I will get in pyxml specially in minidom and parsers. Anyone, please provide...
5
by: Matthias Kaeppler | last post by:
Hi, I have to say I am confused about the documentation on pyxml.sf.net. When I want to use DOM, I effectively am using a class called Sax2? ^^ I also have to catch SAXExceptions, which reside...
3
by: Thomas W | last post by:
I've tried to install the pyxml-package, available at http://pyxml.sourceforge.net/, both from source and using some hack on the win32-binary package available for python2.4, but without luck....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.