Re: [PHP4BETA] [Q] dom function bug?
[email protected] (Alan) Sun, 4 Jun 2000 16:10:41 +1000
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 03 Jun 2000 21:10:26 +0200, "Giosue' Vitaglione" <[email protected]> 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