works ok, except that the outputed XML uses "attributes" (http://
www.w3schools.com/XML/xml_attributes.asp) instead of standard
elements.
You can change to change this behaviour of CakePHP XML helper.
$xml->serialize($yourData, array('format' => 'elements'));or$xml->serialize($yourData, array('format' => 'tags'));