Re: [PHP4BETA] [Q] dom function bug?
[email protected] ("Giosue' Vitaglione") Sat, 03 Jun 2000 21:10:26 +0200
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
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 !
Cheers,
Giosue'
"Kim, Sung-Sik" wrote:
> problem #1)
> The return value of "node->attributs()" is not ARRAY; ( 8 line of test.php )
> if i put var_dump($attributes); at 8 line in test.php, result of var_dump($attributes) is starnge.
>
> problem #2)
> if i put "$node->parent()" at 7 line in test.php for test, test.php script is die.
>