php - EasyPHP custom java extension -


i using easyphp test purposes, , wish apply xslt 2.0 processor in php code. easyphp 5.3.9 standard xslt processor of 1.0 version though.

what have apply xslt processor in saxon9he.jar or xslt2processor.jar (found on sourceforge.net)? stuff know:

  • which directory place jar in
  • where change config include jar (probably using extension functionality)
  • what put code in order declare new instance of xslt processor

code using

<?php     $xml = new domdocument();     $xml->load('test.xml');     $xslt = new xsltprocessor();     $xsl = new domdocument();     $xsl->load('test.xslt');     $xslt->importstylesheet( $xsl );     print $xslt->transformtoxml( $xml ); ?> 

which errors because have xslt 2.0 version stylesheet. errors like

warning: xsltprocessor::importstylesheet() [xsltprocessor.importstylesheet]: compilation error: file file:///c:/program%20files%20(x86)/easyphp-5.3.9/www/test.xslt line 99 element function in c:\program files (x86)\easyphp-5.3.9\www\test.php on line 7 


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -