src/Arrays/Conversions/To/Xml.php
public function Convert($data)
	{
		// Create a new xml document
		$xml = new XmlWriter();
		$xml->openMemory();
		$xml->setIndent($this->indent);
		$xml->startDocument('1.0', 'UTF-8');
		
		// Recursively create the body of the document
		$this->RecursXML($xml, $data);
		
		// End the document
		$xml->endElement();
		
		// Return the XML Document as a String
		return $xml->outputMemory(true);
	}
public function Convert($data)
	{
		// Create a new xml document
		$xml = new XmlWriter();
		$xml->openMemory();
		$xml->setIndent($this->indent);
		$xml->startDocument('1.0', 'UTF-8');
		
		// Recursively create the body of the document
		$this->RecursXML($xml, $data);
		
		// End the document
		$xml->endElement();
		
		// Return the XML Document as a String
		return $xml->outputMemory(true);
	}
Method: Convert
=========================================================================
This will do the actual converting

Parameters:
-------------------------------------------------------------------------
$data - An array to convert to XML

Returns:
-------------------------------------------------------------------------
xml