System.Xml.Xsl.XsltOld.Compiler.FindNamespaceAlias C# (CSharp) Method

FindNamespaceAlias() private method

private FindNamespaceAlias ( String StylesheetURI ) : NamespaceInfo
StylesheetURI String
return NamespaceInfo
        internal NamespaceInfo FindNamespaceAlias(String StylesheetURI)
        {
            if (_globalNamespaceAliasTable != null)
            {
                return (NamespaceInfo)_globalNamespaceAliasTable[StylesheetURI];
            }
            return null;
        }

Usage Example

Ejemplo n.º 1
0
 public override void ReplaceNamespaceAlias(Compiler compiler){
     if (this.namespaceUri.Length != 0) { // Do we need to check this for namespace?
         NamespaceInfo ResultURIInfo = compiler.FindNamespaceAlias(this.namespaceUri);
         if (ResultURIInfo != null) {
             this.namespaceUri = ResultURIInfo.nameSpace;
             if (ResultURIInfo.prefix != null) {
                 this.name = ResultURIInfo.prefix;
             }
         }
     }
 }
All Usage Examples Of System.Xml.Xsl.XsltOld.Compiler::FindNamespaceAlias