I'm using simplexml() function to parse through RSS feed, while i can access $var->title to < title> how do I access < dcterms:issued>
+2
A:
Are you using SimpleXML?
A solution for you seems to exist right here.
EDIT
Answer copied here for posterity's sake
Access the children by their XML namespace.
$dcChildren = $node->children( 'http://purl.org/dc/elements/1.1/' );
$title = $dcChildren->title;
Peter Bailey
2010-06-07 17:48:54
`$node->children('dc',true);` would be somewhat more readable for those who don't know the standard dc: namespace.
Wrikken
2010-06-07 19:55:01
@Wrikken - indeed.
Peter Bailey
2010-06-07 20:39:02