hey,
i am trying to create an xml formal like
<media:content url= "http:/www.abc.com" type= "video>
</media:content>

i am using the xml elem to do so like..
$xml->elem('content',array('namespace'=>'media')); and it generates me
the output as
<media:content>
</media:content>

how to put the url and type values in <media:content...

if i try to put it as a new array in elem then i dont get any output..

anyone can please guide me through this,,???
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to