Example #1
0
 function setXsl($uri)
 {
     $doc = new docReader($uri);
     if ($doc->readDoc() == true) {
         $this->xsl = $doc->getString();
         return true;
     } else {
         $this->setError("Could not open xsl file in \"{$uri}\"");
         $this->setErrorCode("4");
         return false;
     }
 }