Esempio n. 1
0
 /**
  *@param XSLFilenameProcessor $xslFile
  *@param Context $context
  *@return Uri 
  *@desc 
  */
 public static function getUriFromXsl($xslFile, $context)
 {
     //System.Uri uri = snippetProcessor.ResolveUri(null, xslFile.FullQualifiedNameAndPath());
     if (!$xslFile->Exists()) {
         if (!$xslFile->UseFileFromAnyLanguage()) {
             throw new EngineException("XSL document \"" . $xslFile->FullQualifiedName() . "\" not found in local site or shared locations.", 754);
         }
     }
     return FileUtil::getUriFromFile($xslFile->FullQualifiedNameAndPath());
 }