Cita:
Baje los .dll y los guarde dentro de la carpeta php/ext y dentro de sistem32$xslt = new XSLTProcessor();
$XSL = new DOMDocument();
$XSL->load("d:\cadenaoriginal_2_0.xslt", LIBXML_NOCDATA);
$xslt->importStylesheet( $XSL );
print $xslt->transformToXML( $XML );
error:
Warning: DOMDocument::load() [domdocument.load]: Start tag expected, '<' not found in file:///d:/cadenaoriginal_2_0.xslt, line: 2 in D:\xampp\htdocs\md5.php on line 123
Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: compilation error in D:\xampp\htdocs\md5.php on line 124
Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: xsltParseStylesheetProcess : empty stylesheet in D:\xampp\htdocs\md5.php on line 124
Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: No stylesheet associated to this object in D:\xampp\htdocs\md5.php on line 126
$XSL = new DOMDocument();
$XSL->load("d:\cadenaoriginal_2_0.xslt", LIBXML_NOCDATA);
$xslt->importStylesheet( $XSL );
print $xslt->transformToXML( $XML );
error:
Warning: DOMDocument::load() [domdocument.load]: Start tag expected, '<' not found in file:///d:/cadenaoriginal_2_0.xslt, line: 2 in D:\xampp\htdocs\md5.php on line 123
Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: compilation error in D:\xampp\htdocs\md5.php on line 124
Warning: XSLTProcessor::importStylesheet() [xsltprocessor.importstylesheet]: xsltParseStylesheetProcess : empty stylesheet in D:\xampp\htdocs\md5.php on line 124
Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: No stylesheet associated to this object in D:\xampp\htdocs\md5.php on line 126
Cita:
En el archivo php.ini agregue la líneaSablot.dll
Expat.dll
Php_sablot.dll
Inconv.dll
Xslt.dll
Expat.dll
Php_sablot.dll
Inconv.dll
Xslt.dll
Código PHP:
extansion=php_xslt.dll;
extensión=xslt.dll;
Alguien sabe que estoy haciendo mal, gracias.