Jump to content

Php XSLT processor


Captain coffee

Recommended Posts

Hi guys

You guessed i'm up agaisnt the wall so any assiatnce is gratefully recieved. I'm using PHP with an apache server running under windows XP. the version is 5.1.1.

What I want to do is to transfom an xml file with an XSLt file. I can do this through the browser so I can be fairly confidant thatboth XSL and XML are 'wellformed' . To try and achive this with PHP I have used  XSLTProcessor and because I go the following error message

Class 'XSLTProcessor' not found

I tried a new approach using xslt_create and got a similar message in fact

Call to undefined function xslt_create()

I have checked out the the PHP info page and it does tell me I have libXML support with versio 2.6.1

So I do not understand why it cannot find the classes. Any help would be warmly welcome

Thanks in advance

CC
Link to comment
https://forums.phpfreaks.com/topic/31003-php-xslt-processor/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.