Question #233331 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/233331

    Status: Open => Answered

RaiMan proposed the following answer:
This worked for me in all cases:

from xml.dom.minidom import parseString
xml = '<?xml version="1.0"?><test><tag1><node>VALUE</node></tag1></test>'
dom = parseString(xml)
node_list = dom.getElementsByTagName('node')
first_node = node_list[0].firstChild.nodeValue
print first_node

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to