[PHP] new_xmldoc won't work?

2002-03-15 Thread Edward Tanguay
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 ad_root('sites'); $site = $root->ne_child('site',''); $site->new_child('title','PHP.net'); $site->new_child('url','http://www.php.net'); $

Re: [PHP] XSLT parsing causes "passed by reference" error

2002-03-15 Thread Edward Tanguay
this error? I can't wait to get this going. Thanks for the help. Edward www.tanguay.info "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Wednesday, March 13, 2002, at 06:13 PM, Edward Tanguay wrote: > >

[PHP] XSLT parsing causes "passed by reference" error

2002-03-13 Thread Edward Tanguay
I get the error: Fatal error: Only variables can be passed by reference in /home/tanguay/test/testxslt.php on line 7 when I run this code: \n"; print "\n"; print $result; print "\n"; } else { print "Sorry, sample.xml could not be transformed by sample.xsl into"; print " the