[phpXML] Shortcut to attributes.
Brought to you by:
bs_php,
nigelswinson
From: <ti...@di...> - 2001-10-05 10:31:49
|
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://sslsites.de/mailinglisten/user/us...@li.../ |