Exemple #1
0
 public function testXSLCache()
 {
     if (!extension_loaded('xslcache')) {
         $this->markTestSkipped('The XSL Cache extension is not available');
         return;
     }
     $xml = new SimpleDOM('<xml><child>CHILD</child></xml>');
     $this->assertXmlStringEqualsXmlString('<output><child>Content: CHILD</child></output>', $xml->XSLT($this->filepath, true));
 }