[phpXML] Shortcut to attributes.

2001-09-28 Thread tim
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

[phpXML] Re: [phpXML] Re: [phpXML] Shortcut to attributes.

2001-09-28 Thread tim
> >Ultimately there should be some kind of solution where you call getData() >instead of getAttribute() with evaluate() returning an array of You know intuitively what I want to do is this. $courts = $xml->evaluate($result . '/COURTS_SEARCHED/COURT'); foreach ($courts as $court): print

[phpXML] Re: [phpXML] problem with the class

2001-09-28 Thread bs_php
Get the newest version! -- 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 user discussion list. To unsubscribe, p

[phpXML] Re: [phpXML] please switch off html....

2001-09-28 Thread tim
At 03:46 PM 9/27/2001 +, you wrote: > > I completely agree with this! :( > > HTML mails really s > >Well sorry I completely don't. :o) I'm sorry if this causes >inconvenience, but that is what multipart/alternative was created for, and >that's what I send and that's what I will continue

[phpXML] Re: [phpXML] Shortcut to attributes.

2001-09-28 Thread nigelswinson
> 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 w