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->importStyleShee
t($xsl);
echo $xsltproc->transformToXML(
$xml);
Thanks in advance
Start Free Trial