Re: PyXML 0.8.2 is released

2012-07-17 Thread gaodexiaozheng
在 2003年1月26日星期日UTC+8下午10时01分02秒,"Martin v. Löwis"写道: > Tim C wrote: > > I've been trying pyxml from jython and fell into the problem when > trying to > > create executables that pyxml's mechanisms for importing modules > confound > > the compiler. > > What do you mean by "executable", and which

Re: PyXML difficulties

2009-05-21 Thread Paul Boddie
On 21 Mai, 22:58, emperorcezar wrote: > I'm new to using the xml libs. I'm trying to create xml pragmatically, > but I'm finding an issue. I have two elements I'm creating using > createElementNS two elements (soap:Envelope and context). Each having > a different namespace. When I print the create

Re: PyXML and Python-2.6

2009-04-07 Thread Stefan Behnel
Andrew MacKeith wrote: > The Python.org "SIG for XML Processing in Python" page indicates that > "The SIG, through the mailing list and the PyXML project hosted on > SourceForge...". > > The PyXML project on SourceForge " is no longer maintained. ", so > perhaps the SIG page could be updated. > >

Re: PyXML and Python-2.6

2009-04-07 Thread Paul Boddie
On 7 Apr, 16:01, Andrew MacKeith wrote: > The Python.org "SIG for XML Processing in Python" page indicates that > "The SIG, through the mailing list and the PyXML project hosted on > SourceForge...". > > The PyXML project on SourceForge " is no longer maintained. ", so > perhaps the SIG page could

Re: PyXml

2008-05-10 Thread kdwyer
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), co

Re: PyXml

2008-05-09 Thread Stefan Behnel
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 t

Re: PyXml

2008-05-09 Thread Martin v. Löwis
> 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?

Re: pyxml package not working? No xml.dom.ext.reader module available after install.

2007-10-10 Thread Stefan Behnel
Thomas W wrote: > On 10 Okt, 11:13, Stefan Behnel <[EMAIL PROTECTED]> wrote: >> Thomas W wrote: >>> I've tried to install the pyxml-package, available >>> athttp://pyxml.sourceforge.net/, >>> both from source and using some hack on the win32-binary package >>> available for python2.4, but without

Re: pyxml package not working? No xml.dom.ext.reader module available after install.

2007-10-10 Thread Thomas W
On 10 Okt, 11:13, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Thomas W wrote: > > I've tried to install the pyxml-package, available > > athttp://pyxml.sourceforge.net/, > > both from source and using some hack on the win32-binary package > > available for python2.4, but without luck. After install

Re: pyxml package not working? No xml.dom.ext.reader module available after install.

2007-10-10 Thread Stefan Behnel
Thomas W wrote: > 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. After install the module > xml.dom.ext.reader is not available, eventhough the fo

Re: PyXML not installing?

2007-07-09 Thread Martin v. Löwis
> error: Python was built with Visual Studio 2003; > extensions must be built with a compiler than can generate compatible > binaries. > Visual Studio 2003 was not found on this system. If you have Cygwin > installed, > you can try compiling with MingW32, by passing "-c mingw32" to > setup.py. > >

Re: PyXML not installing?

2007-07-09 Thread Stefan Behnel
Robert Dailey wrote: > I downloaded the PyXML library and I'm attempting to install it by > following the README file on Windows XP. I currently have Visual > Studio 2005 installed. > >>From the command line I type: > > C:\PyXML-0.8.4>python setup.py build > running build > running build_py > run

Re: PyXML not supported, what to use next?

2006-10-06 Thread uche . ogbuji
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 mor

Re: PyXML not supported, what to use next?

2006-10-02 Thread Oliver Andrich
Hi PaulOn 9/30/06, Paul Watson <[EMAIL PROTECTED]> wrote: It would appear that xml.dom.minidom or xml.sax.* might be the bestthing to use since PyXML is going without support.  Best of all it isincluded in the base Python distribution, so no addition hunting required. Is this right thinking?  Is th

Re: PyXML not supported, what to use next?

2006-09-30 Thread Paul Boddie
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?

Re: PyXML not supported, what to use next?

2006-09-30 Thread John Salerno
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?

Re: PyXML SAX Q?

2006-02-16 Thread Alan Kennedy
[EMAIL PROTECTED] > is it possible to use SAX to parse XML that is not in a file but in a > large string? > If I open my XML file and read the content into a string variable. Is > there a way I can pass it to the PyXML Sax handler? > The reason I want to know is that I need to parse XML that is gen

Re: PyXML: SAX vs. DOM

2006-01-21 Thread Matthias Kaeppler
Ivan Herman wrote: > I know this is not the ideal answer, but maybe it helps... It does, thanks Ivan. Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: PyXML: SAX vs. DOM

2006-01-21 Thread Ivan Herman
Original Message From: Matthias Kaeppler <[EMAIL PROTECTED]> To: Subject: Re:PyXML: SAX vs. DOM Date: 20/1/2006 21:26 > Oh and: > Where can I find an API reference for PyXML? Am I supposed to /guess/ > which methods and attributes e.g. Sax2 supplies? :D > > Thanks again, > Matth

Re: PyXML: SAX vs. DOM

2006-01-20 Thread Matthias Kaeppler
Steven Bethard wrote: > I don't have an answer to your real question, but if you're not > committed to a particular XML package yet, you might consider ElementTree: > http://effbot.org/zone/element-index.htm > > The API is much simpler, and the package has a much more sane > organization. ;)

Re: PyXML: SAX vs. DOM

2006-01-20 Thread Steven Bethard
Matthias Kaeppler wrote: > 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 in xml.sax._exceptions. > > I thought DOM and SAX are two completely different

Re: PyXML: SAX vs. DOM

2006-01-20 Thread Matthias Kaeppler
Oh and: Where can I find an API reference for PyXML? Am I supposed to /guess/ which methods and attributes e.g. Sax2 supplies? :D Thanks again, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: PyXML and xml.dom

2005-08-17 Thread uche . ogbuji
> Is PyXML now part of the Python distribution, or is it still an add-on? Parts of PyXML have been migrated into Python core since Python 2.0, but there is still also a standalone PyXML package.,. See: http://www.xml.com/pub/a/2002/09/25/py.html -- Uche http://copia.ogbuji.net -- http://mail

Re: PyXML/expat and the empty elements

2005-05-17 Thread Armin Steinhoff
Armin Steinhoff wrote: > > > Hi all, > > is it possible to get the name of an empty element specified > by ... the expat parser seems only to recognize > the form > > Regards > > Armin Ok ... found the root of the problem. The expat parser is OK :) Regards Armin -- http://mail.py