Can anyone shed light on why this code doesn't work?
I get: fatal error: Call to undefined function: new_xmldoc() in
/home/tanguay/test/testsab2.php on line 4

<?
xslt_output_begintransform('tst.xsl');

$doc = new_xmldoc('1.0');
$root = $doc->ad_root('sites');
$site = $root->ne_child('site','');
$site->new_child('title','PHP.net');
$site->new_child('url','http://www.php.net');
$site->new_child('description','The homepge of PHP');
$site->new_child('keywords','MySQL, PHP');

print $doc->dumpmem();

xslt_output_endtransform();
?>

Where can I get "new_xmldoc()"?

Thanks,
Edward



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to