REALLY simple xml reader

Simon Pickles sipickles at hotmail.com
Sun Jan 27 12:35:16 EST 2008


Hi

Can anyone suggest a really simple XML reader for python? I just want to 
be able to do something like this:

xmlDoc = xml.open("file.xml")
element = xmlDoc.GetElement("foo/bar")

... to read the value of:

<foo>
   <bar>42</bar>
</foo>


Thanks

Simon

-- 
Linux user #458601 - http://counter.li.org.






More information about the Python-list mailing list