SimpleXML Namespace or SemiColin

Theoverdose

New Member
Im having a problem getting a namespaced (Or semi-colin') item with PHP's SimpleXML. I've done a little digging through google and tried the likes if asXML but im back at square one.The part I can't get < content:encoded >\[code\]http://content.sportsdatallc.com/?feed=rss2&cat=364\[/code\]PHP\[code\]$xml = new SimpleXMLElement($response, LIBXML_NOCDATA);print_r($xml);\[/code\]I can get all the nodes that I need, except for that piece above. If i print_r it doesnt showup.I have also tried this:\[code\]$xml = new SimpleXMLElement($response, LIBXML_NOCDATA);foreach ($xml->channel->item as $item){ echo 11; $art = $item->children('content:encoded'); print_r($art);}\[/code\]
 
Back
Top