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 compil

RE: Question about PyXML and python's stdlib xml

2012-02-29 Thread Prasad, Ramit
>>I'm forwarding this message to python-list, since I didn't get answer on >>xml-sig ML. >>Hopefully this is right list to question. >>Please keep me in CC. Original message is below. >>>I have concerns about PyXML and stdlib xml included directly in

Re: Fwd: Question about PyXML and python's stdlib xml

2012-02-29 Thread Stefan Behnel
Roman Rakus, 29.02.2012 15:33: > I'm forwarding this message to python-list, since I didn't get answer on > xml-sig ML I didn't see a message from you on that list. > I have concerns about PyXML and stdlib xml included directly in python. > Currently (in Fedora) pytho

Fwd: Question about PyXML and python's stdlib xml

2012-02-29 Thread Roman Rakus
I'm forwarding this message to python-list, since I didn't get answer on xml-sig ML. Hopefully this is right list to question. Please keep me in CC. Original message is below. RR Original Message Subject:Question about PyXML and python's stdlib xml Date

Re: can't retrieve data from pyxml

2009-08-19 Thread Diez B. Roggisch
Sakib schrieb: well, i need to retrive data from the following line of xml. i need the Caption and the type data. is any one out there help me doing that? That's not XML. It lacks namespace-declarations. So no XML-parser will (or should) grok it. Also, to get help here it's better t

can't retrieve data from pyxml

2009-08-19 Thread Sakib
well, i need to retrive data from the following line of xml. i need the Caption and the type data. is any one out there help me doing that? thanks, Sakib -- http://mail.python.org/mailman/listinfo/python-list

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

PyXML difficulties

2009-05-21 Thread emperorcezar
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 created xml, the namespace attribute gets moved from

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. "

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

PyXML and Python-2.6

2009-04-07 Thread Andrew MacKeith
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

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 v

PyXml

2008-05-09 Thread kdwyer
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 el

Using PyXml with Jython

2007-12-05 Thread barakad11
Hi I'm trying to run some code developed for (C)Python on Jython's interpreter (version 2.2.1). The code uses xpath and I tried to make Pyxml available to the Jython interpreter in order for it to execute. The interpreter still can't import xpath module. When I checked the __in

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 p

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

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 avail

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

2007-10-10 Thread Thomas W
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 folder, __init__p

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 &g

PyXML not installing?

2007-07-09 Thread Robert Dailey
Hi, 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 running build_ext error:

Need help with python and pyxml on AIX

2007-03-31 Thread loial
I have been asked to install a python application on AIX 5.3 that runs OK on Windows I have installed Python 4.2.2 from python.org and pyXML form sourceforge. However when I run the application I get the following error : class xml.sax._exceptions.SAXReaderNotAvailable Do I need to set some

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

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 thinkin

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. > >

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

PyXML not supported, what to use next?

2006-09-30 Thread Paul Watson
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? -- http://mail.python.org

Getting PyXML and dom/minidom to ignore whitespace

2006-09-12 Thread nikhilhs1110
Is there a way to get PyXML and dom/minidom to ignore whitespace? Or a simple way to strip it away? Thanks. -Nick -- http://mail.python.org/mailman/listinfo/python-list

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 pa

PyXML SAX Q?

2006-02-15 Thread mitsura
Hi, 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 generated by a process on

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 &g

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
two completely different things. Why is PyXML > mixing them up like this? 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

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

PyXML: SAX vs. DOM

2006-01-20 Thread Matthias Kaeppler
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 in xml.sax._exceptions. I thought DOM and SAX are two completely different things. Why is PyXML mixing

What PyXml provides

2006-01-02 Thread ankit
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 a brirfing on this. -- http://mail.python.org/mailman/listinfo/python-list

Re: Add attribute using pyxml

2005-11-04 Thread uche . ogbuji
"How do I add a new attribute to the existing xml Document tree??? " what do you mean by "using pyxml"? There are several pyxml modules. Do you mean minidom? If so that comes with stock Python as well (hint: element_node.setAttributeNS(ns, qnam

Re: Add attribute using pyxml

2005-11-01 Thread Robert Boyd
On 1 Nov 2005 11:09:10 -0800, PyPK <[EMAIL PROTECTED]> wrote: How do I add a new attribute to the existing xml Document tree??? Add an attribute of an element, or add a new element? I hope I've understood your question correctly...this demonstrates both adding a brand new element (tag) and an att

Add attribute using pyxml

2005-11-01 Thread PyPK
How do I add a new attribute to the existing xml Document tree??? -- 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 -- h

PyXML and xml.dom

2005-08-17 Thread Dan
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 of Python (2.3.5) mentions PyXML as an additional library while discussing the DOM module

Difficulty installing PyXml.

2005-05-20 Thread Amitpython5
Hello,     I have python installed under a different directory (/images/QA/QATools12/lib/python2.1), and I'm now trying to install PyXml. It gives me the following error: -> python setup.py buildTraceback (most recent call last):  File "setup.py", line 127, in

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

PyXML/expat and the empty elements

2005-05-17 Thread Armin Steinhoff
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 -- http://mail.python.org/mailman/listinfo/python-list

Problem with pyXML DOM

2005-05-04 Thread Florian Lindner
Hello, I'm using the PyXML Package. My XML document looks like that: /home/florian/visualizer/testdata.csv print sourceNode.getElementsByTagName("filename")[0] print sourceNode.getElementsByTagName("filename")[0].nodeValue()

Re: Problem with pyXML DOM

2005-05-04 Thread Maniac
Florian Lindner wrote: >But I don't really understand the logic: > >given I have the node A > >path > >A.firstChild.nodeValue == path > >How would the second child of A look like? (ok, None in this case) > Yes. It's actually required by DOM standard: NodeList (which is returned from getElementsBy

Re: Problem with pyXML DOM

2005-05-04 Thread Florian Lindner
Maniac wrote: > Florian Lindner wrote: > >>Traceback (most recent call last): >> File "ConfigReader.py", line 40, in ? >>c = ConfigReader(f) >> File "ConfigReader.py", line 32, in __init__ >>print sourceNode.getElementsByTagName("filename")[0].nodeValue() >>TypeError: 'NoneType' object

Re: Problem with pyXML DOM

2005-05-04 Thread Maniac
Florian Lindner wrote: >Traceback (most recent call last): > File "ConfigReader.py", line 40, in ? >c = ConfigReader(f) > File "ConfigReader.py", line 32, in __init__ >print sourceNode.getElementsByTagName("filename")[0].nodeValue() >TypeError: 'NoneType' object is not callable > > Thi

PyXML problem between python 2.3 and python 2.4

2005-01-21 Thread PyStarbuck
Hi All, Has anybody had an issue with compatiblity between XML files between python 2.3 and python 2.4. I have PyXML 0.8.3 installed in ClearCase and it is shared between Solaris and Windows. Here is an example on my system: ActivePython 2.3.4 Build 233 (ActiveState Corp.) based on Python