includes/functions-xml.php
function array2xml($array) {
	//global $text;
	$this->text="<?xml version=\"1.0\" encoding=\"iso-8859-1\"?><result>";
	$this->text.= $this->array_transform($array);
	$this->text .="</result>";
	return $this->text;
	}
function array2xml($array) {
	//global $text;
	$this->text="<?xml version=\"1.0\" encoding=\"iso-8859-1\"?><result>";
	$this->text.= $this->array_transform($array);
	$this->text .="</result>";
	return $this->text;
	}
/*Converts an array to an xml string