On Friday, March 15, 2002, at 07:04 PM, Edward Tanguay wrote:
$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');
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','');
2 matches
Mail list logo