Click to See Complete Forum and Search --> : DOM xml on php4.1.0


Anon
12-15-2001, 03:09 PM
I have been having some problems using DOM xml on php4.1.0. I have never used the extention befor but I thought it your be nice to learn. I can parse the xml into a tree and get achild from the root node. But when I try to access the $child->name variable it tells me that it doesn't exist. Same warning with $child->content. If I dump the $child object with a print_r() it shows a variable called tagname with the name valse but there is no replacement for content. I can get the attrubutes fine. Is this a problem withphp v4.1.0, php on win32 or the DOM xml library itself. I would relly love some help on this one.

Cheers Sam :)

Anon
12-16-2001, 03:15 AM
I had problems with PHP4.10 too, and I went back to PHP4.06 - now everything works again.