implemented xml_parser