using web services person name phone email type=intl chuck hide=yes + figure tree representation of xml parsing xml here is simple application that parses some xml and extracts some data elements from the xmlimport xml etree elementtree as et data ''chuck + ''tree et fromstring(dataprint('name:'tree find('name'textprint('attr:'tree find('email'get('hide')codethe triple single quote (''')as well as the triple double quote (""")allow for the creation of strings that span multiple lines calling fromstring converts the string representation of the xml into "treeof xml elements when the xml is in treewe have series of methods we can call to extract portions of data from the xml string the find function searches through the xml tree and retrieves the element that matches the specified tag namechuck attryes using an xml parser such as elementtree has the advantage that while the xml in this example is quite simpleit turns out there are many rules regarding