Minidom Help
Robert Rawlins - Think Blue
robert.rawlins at thinkbluemedia.co.uk
Tue Apr 24 06:17:23 EDT 2007
Hello guys,
Not got much experience with working with minidom, but I'm looking to parse
this XML and retrieve the 'name' value from the xml.
<?xml version="1.0" encoding="UTF-8"?>
<config>
<device>
<name>Think Blue</name>
<class>0x1002</class>
<discoverable>1</discoverable>
</device>
</config>
I've got as far as parsing the XML using self.doc =
xml.dom.minidom.parse(self.filepath) but that's as far as I've managed to
get. I've spent a little time googling around but it's all double Dutch to
me.
Any ideas?
Thanks,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070424/34cca51b/attachment.html>
More information about the Python-list
mailing list