Sorry the code works fine, just forgot the echo the output.
On Mon, 2007-11-19 at 22:04 +0100, Jonas Geiregat wrote:
> I've been playing with DOMDocument->xinclude but it just doesn't seem to
> work for me.
>
> test.php:
>
> header('set content-type: text/xml');
> $doc = new Do
I've been playing with DOMDocument->xinclude but it just doesn't seem to
work for me.
test.php:
preserveWhiteSpace = false;
$doc->formatOutput = true;
$doc->load('test.xml');
$doc->xinclude();
$doc->saveXML();
?>
test.xml:
http://www.w3.org/2001/XInclude";>
2 matches
Mail list logo