You're right Sam, I wrote too quickly without checking...

Luc

En réponse à [EMAIL PROTECTED]:

> Maybe missing '/'
> Try :
> 
> foreach ($listofNews as $news) {
>   $t = $xml->getAttributes ("/NewsML/Catalog");
>   echo $t['Href'];
>   echo $xml->getData("/NewsML[1]/NewsEnvelope[1]/DateAndTime[1]");
> } 
>   
> -- 
--
This message has been sent through the <phpXML/> user discussion list. To unsubscribe, 
please visit https:[EMAIL PROTECTED]/

_______________________________________________
Phpxmldb-phpxml-arc mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/phpxmldb-phpxml-arc

Reply via email to