xml.dom.minidom

joe user a2600 at hotmail.com
Tue May 21 04:10:31 EDT 2002


Hi.

I am experimenting with XML, the very first steps into this world. I
have successfully created a XML-document with minidom, that is great.
However, I have huge problems to read and parse it afterwards.

The document looks like this:

<?xml version='1.0'?>
<mydoc version="1.2">
 <title text="testdocument" />
 <text>
  <data>
   Hello World
  </data>
 </text>
 <footer>
  <data>
   Hello Footer
  </data>
 </footer>
</mydoc>


What I would like to do is to get the contents of the "<data>"-tag
within the "<footer>"-tag.

If anyone has a minute over, could you please give me an example on
how to proceed?

TIA

// JuDD



More information about the Python-list mailing list