i have done it with the help of xml helper and it works fine for me..
in order to make something like
<media:content url="http://www.abc.com" type= "video/quicktime">
.
.
.</media:content>
it can be done as..
$url = Router::url(array('controller'=>'controller', 'action'=>'view',
'name1'=>$entity['Table']['name1']),true);
echo $xml->elem('content', array('namespace'=>'media'));
it will output as
<media:content url="http://...."/>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---