PHP 4.0.6 and xsl-transformation
| From: | K. Pihl | Date: | Fri, 12 Apr 2002 23:19:06 +0000 |
| Subject: | PHP 4.0.6 and xsl-transformation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92821@lists.php.net to get a copy of this message | ||
Hey PHP-gurus!
How do I run and invoke PHP XSL-parsing and
transformation using PHP version 4.0.6.?
Here is the sample code I want to run.
files included:
PHP-script
XML-file and XSL-file:They are formatted nicely
client-side by IE6.0.
(Please disregard the stupid text in the XML-file,
it is an extract from a database with a lot of test
postings)
When I run the script (post.php) I get an 'empty'
XHTML-document, which is probably the result of
applying the
XSL-stylesheet(standard.xsl) on the XML-document
(writeout.xml), and getting nothing -> a 'bad'
transformation.
The script doen't display any errors, and the logging
does not seem to work.
Please help.
PS : I didn't do the server setup myself, how can I
check if the XSL-parser is configured correctly?
YT
Karsten Pihl, denmark
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/