note 10198 added to xslt_process
| From: | paul at rydell dot com | Date: | Tue, 19 Dec 2000 08:36:54 +0000 |
| Subject: | note 10198 added to xslt_process | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8895@lists.php.net to get a copy of this message | ||
An addendum to the previous post about the extra carriage return is that you need to remove it when
you are setting the $xslData variable as well as the $xmlData variable.
Another problem with this example is the XSL shown opens a <TD> tag and closes it with a
</title> tag. Change </title> to </td> to fix it.
One other thing to note that has helped me in debugging my work with XSL has been that you can
usually get nice verbose error descriptions from your Apache error log.
The xslt_process function is awesome and very very fast.
http://www.php.net/manual/function.xslt-process.php