Use of SimpleXML library