| Author |
The following code fails
|
|
| Asper Faner 2006-12-11, 7:01 pm |
| <?php
$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 see nothing on the screen.
But if I execute xsl and use no php, I can see the message "welcome" in
xml file
Do you know why ?
Thanks
| |
|
| "Asper Faner" <aspmanualator_1234567890@yahoo.com> wrote in message
news:1165602670.405827.68530@l12g2000cwl.googlegroups.com...
> <?php
> $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 see nothing on the screen.
>
> But if I execute xsl and use no php, I can see the message "welcome" in
> xml file
>
> Do you know why ?
>
> Thanks
Um... maybe you are not display errors and "domxml" is not installed?
-Lost
| |
| Asper Faner 2006-12-11, 7:01 pm |
|
-Lost wrote:
> "Asper Faner" <aspmanualator_1234567890@yahoo.com> wrote in message
> news:1165602670.405827.68530@l12g2000cwl.googlegroups.com...
>
> Um... maybe you are not display errors and "domxml" is not installed?
>
> -Lost
Thanks but what do you mean by lost ?
|
|
|
|