Maybe missing '/'
Try :

foreach ($listofNews as $news) {
  $t = $xml->getAttributes ("/NewsML/Catalog");
  echo $t['Href'];
  echo $xml->getData("/NewsML[1]/NewsEnvelope[1]/DateAndTime[1]");
} 
  
-- 
Sam Blum <[EMAIL PROTECTED]>

===========================
For the most recent version of phpxml, V1.N.X, and an archive of this list
visit:  http://www.sourceforge.net/projects/phpxmldb

--
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