import xml.etree.ElementTree as ET
tree = ET.fromstring("xml_string") # or ET.parse("path_to_xml_file")
for element in tree.findall("globalVariables/globalVariable"): # or tree.findall('globalVariables/globalVariable/name')
name = element.find("name")
print(element.tag, name.text, element.attrib)
.then(data => this.setState({data: data}))
proxy_pass http://127.0.0.1:3000;