Re: [PHP4BETA] [Q] dom function bug?
| From: | Alan | Date: | Sun, 04 Jun 2000 06:10:41 +0000 |
| Subject: | Re: [PHP4BETA] [Q] dom function bug? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-16124@lists.php.net to get a copy of this message | ||
On Sat, 03 Jun 2000 21:10:26 +0200, "Giosue' Vitaglione"
<giosue.vitaglione@cern.ch> wrote:
>
>
> Hi All,
> I have the same problem.
> $node->attributes(); does not give an array.
>
> This seems to be a bug, isn't it ?
> Or it is a bad usage ?
>
> Anyway:
> $node->getattr("attrname"); works fine
> but you have to know the name of the attr to read it !
>
dump the contents of $node using var_dump($node);
and you will see the actual structure of the node isn't quite what you expected.
Regards,
Alan van den Bosch