Advertisement

04.02.2005 at 01:15AM PST, ID: 21373867
[x]
Attachment Details

Class 'XSLTProcessor' not found Error

Asked by pran in PHP Installation

Tags: , ,

Hi,

I am using php 5.0.3  with IIS  on Win2k machine . I am getting the following error when i try to create a XSLT processor.

Fatal error: Class 'XSLTProcessor' not found in  c:\myfiles\test.php on line 42

the php source code I am using is as below.  Please let me know If you  know the solution for this problem.




$xml = new DomDocument;
$xml->loadXML("<MyData>d</MyData>");

$xsl = new DomDocument;
$xsl->loadXML("<MyXSL>XSL data</MyXSL>");
$xsltproc = new XSLTProcessor;                //////////  ---> Error is in this line

$xsltproc->importStyleSheet($xsl);
echo $xsltproc->transformToXML($xml);


Thanks in advance
Start Free Trial
[+][-]04.02.2005 at 02:54AM PST, ID: 13687357

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.02.2005 at 02:58AM PST, ID: 13687361

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Installation
Tags: found, class, fatal
Sign Up Now!
Solution Provided By: matt_mcswain
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.06.2005 at 07:59AM PDT, ID: 13717492

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.06.2005 at 11:04AM PDT, ID: 13719596

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2005 at 12:03AM PDT, ID: 13724429

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32