> Message: 5
> Date: Sun, 15 Mar 2009 10:56:22 +0100
> From: Stefan Behnel
> Subject: Re: [Tutor] Parse XML file
> To: tutor@python.org
> Message-ID:
> Content-Type: text/plain; charset=ISO-8859-1
>
> Lukas Agrapidis wrote:
>> I am trying to parse an XML file usi
Lukas Agrapidis wrote:
> I am trying to parse an XML file using Python and found this resource
> http://diveintopython.org/xml_processing/parsing_xml.html
You might be interested in ElementTree:
http://effbot.org/zone/element.htm
It's a lot easier to use than minidom, especially for new users.
python.org
Sent: Saturday, March 14, 2009 6:30:35 PM
Subject: [Tutor] Parse XML file
I am trying to parse an XML file using Python and found this resource
http://diveintopython.org/xml_processing/parsing_xml.html
But I didn't even get past the second line... it does not see the xml file?
I am trying to parse an XML file using Python and found this resource
http://diveintopython.org/xml_processing/parsing_xml.html
But I didn't even get past the second line... it does not see the xml file?
But it is there.
>>> from xml.dom import minidom >>> xmldoc =
>>> minidom.parse('~/Des