Source for file error_handling_1.php
Documentation is available at error_handling_1.php
require_once 'XML/Tree.php';
$root = & $tree->addRoot ('_#:A');
/* Check for error on the Root node */
if (PEAR ::isError ($root->error )) {
$child = & $root->addChild ('abc:def', 'bar');
if (PEAR ::isError ($child)) {
$root->registerName ('abc','http://some_name_space');
$child->registerName ('abc', 'http://some_other_name_space');
echo $tree->getNodeNamespace ($child);
if (PEAR ::isError ($child)) {
Documentation generated on Mon, 11 Mar 2019 15:34:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|