I am looking for an alternative to the following syntax

$courts = $xml->evaluate($result . '/COURTS_SEARCHED/COURT');
foreach ($courts as $court):
                 $courtinfo = $xml->get_attributes($court);
               print $courtinfo['NAME'];
endforeach;

is there a shorter way of getting at that attribute.
I triad a variety of @ syntax but nothing I did seems to work.



:wq
Tim Uckun
US Investigations Services/Due Diligence
  http://www.diligence.com/

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