Hi,

I am working with PHP 4.3 on windows. I am using PHP DOM functions to update
the XML file.
When I try to set the attribute of a particular node, the subsequent get
returns the set value, but it doesn't reflect in the memory structure.

echo "###",$build_node->get_attribute('path');   => this returns the
original path value.
$build_node->set_attribute('path', 'new_path');
echo "###",$build_node->get_attribute('path');  => this returns the new_path
value.
var_dump($build_node);                                 => This does not
reflect the change in path attribute for the build_node, it shows the the
original path value.

Can anybody help me in this issue?

Thanks,
Jils

Reply via email to