The following code fails

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

$filename = "mess.xsl";
$xmldoc = domxml_open_file("mess.xml");
$xsldoc = domxml_xslt_stylesheet_file($filename);
$result =  $xsldoc->process($xmldoc);
echo $xsldoc->result_dump_mem($result);

I try to output a message "welcome" in xml file onto the screen but it
does nothing. If I execute raw the xsl file, I can see the message. Do
you know why ?


Site Timeline