so i have problem with Xml component

my arry from find loks like that

array(
[Invoice] => array(...)
[Seler] => array(...)

so its good...

after
$xml = new Xml($invoice);
xml loks like that (this is stupid...)
<invoice ... /><seler ...></invoice>

after
$result = Set::reverse($xml);

arr loks like bad... that
array(
[Invoice] => array(
   [Seler] => array(...)....
)

full example

App::import('Core','Xml');
debug($arr);
$xml = new Xml($arr);
debug($xml);
$arr = Set::reverse($xml);
debug($arr);
exit;

whats wrong ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to