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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to