DomDocument->xinclude
Substitutes XIncludes in a DomDocument Object
Description
intDomDocument->xinclude
&warn.experimental.func;
This function substitutes XIncludes in a DomDocument object.
Substitu
test
$xml = '
xinclude: include.xml not found
';
$domxml = domxml_open_mem($xml);
$domxml->xinclude();
echo $domxml->dump_mem();
?>
]]>
&example.outputs;
test
]]>
If include.xml doesn't exist, you'll see:
xinclude:dom.xml not found
]]>