在 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
>>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
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
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
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
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
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
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
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. "
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
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.
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
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
> 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
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
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
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
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
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
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
> 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.
>
>
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
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:
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
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
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
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.
> >
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
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
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
[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
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
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
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
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. ;)
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
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
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
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
"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
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
How do I add a new attribute to the existing xml Document tree???
--
http://mail.python.org/mailman/listinfo/python-list
> 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
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
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
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
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
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()
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
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
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
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
52 matches
Mail list logo