[Chicago] python and xml

Robare, Phil PRobare at chx.com
Tue Jun 6 00:08:58 CEST 2006


Although I've never used it, xmlproc, at
http://www.garshol.priv.no/download/software/xmlproc/ claims to be a
validating XML parser for Python.

If speed of development is the main issue (i.e. you want to write python
but not too much is going on in the Python code itself) you could
develop in Jython and have access to the multitude of Java parsers.  I
started down this path once but had to move to a pure Java
implementation when Jython proved too slow.

Phil

-----Original Message-----
From: chicago-bounces at python.org [mailto:chicago-bounces at python.org] On
Behalf Of Tim Saylor
Sent: Monday, June 05, 2006 4:24 PM
To: chicago at python.org
Subject: [Chicago] python and xml

Hello,

I've been using python for a few years now but I'm new to the chipy
group.  I'm hoping someone can help me out with this problem since
I've had little luck with google so far.

I'm looking for a validating xml dom parser library in python.
Information's been hard to find so I'm not even 100% sure what all the
current choices are.  At the moment I'm using the expat parser in
PyXML and that's great except that it dies on the line """<DOCTYPE
ServiceSelectors SYSTEM "services.dtd">""".  It seems that it doesn't
understand the SYSTEM keyword and chokes, but I found out that even if
I fixed that part of the code it wouldn't validate anyway.

So if anyone's familiar with the status of xml parsing in python,
please help me out.

Thanks,
Tim
_______________________________________________
Chicago mailing list
Chicago at python.org
http://mail.python.org/mailman/listinfo/chicago


More information about the Chicago mailing list