added get_xml_attribute