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