toXml() toXml(mixed $data, mixed $node, mixed $cdata, mixed $xml) Function to recursively crawl through the array and create the XML nodes Parameters mixed $data mixed $node mixed $cdata mixed $xml