473,320 Members | 2,107 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,320 software developers and data experts.

PyXML not supported, what to use next?

It would appear that xml.dom.minidom or xml.sax.* might be the best
thing to use since PyXML is going without support. Best of all it is
included in the base Python distribution, so no addition hunting required.

Is this right thinking? Is there a better solution?
Sep 30 '06 #1
3 1300
Paul Watson wrote:
It would appear that xml.dom.minidom or xml.sax.* might be the best
thing to use since PyXML is going without support. Best of all it is
included in the base Python distribution, so no addition hunting required.

Is this right thinking? Is there a better solution?
You can try ElementTree, it comes with 2.5 (xml.etree.ElementTree).
Sep 30 '06 #2
John Salerno wrote:
Paul Watson wrote:
It would appear that xml.dom.minidom or xml.sax.* might be the best
thing to use since PyXML is going without support. Best of all it is
included in the base Python distribution, so no addition hunting required.

Is this right thinking? Is there a better solution?

You can try ElementTree, it comes with 2.5 (xml.etree.ElementTree).
Certainly, ElementTree, xml.sax and xml.dom.minidom appear to be viable
as standard library solutions for the foreseeable future. Sadly, Python
XML activities have fragmented since PyXML was in its prime,
reminiscent of that other contentious area of Python standardisation:
Web technologies.

Paul

Sep 30 '06 #3
Paul Watson wrote:
It would appear that xml.dom.minidom or xml.sax.* might be the best
thing to use since PyXML is going without support. Best of all it is
included in the base Python distribution, so no addition hunting required.
FWIW, easy_install [1] is making things so that more and more
installing stuff is not much additional burden. I'll admit that I've
hardly found easy_install to be problem-free, but since it seems to be
the wave of the future (and a welcome wave at that) I've pushed for
support in recent versions of the XML tools I co-develop: 4Suite [2]
and Amara [3]. For many people these are now very easy to install.
This is the case for some other third-party XML tools as well.

[1] http://peak.telecommunity.com/DevCenter/EasyInstall
[2] http://4suite.org/
[3] http://uche.ogbuji.net/tech/4suite/amara/

--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/

Oct 6 '06 #4

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???
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
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...
0
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...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.