C# Class ReasonCodeExample.XPathInformation.SimpleXmlNamespaceResolver

Inheritance: IXmlNamespaceResolver
Exibir arquivo Open project: uli-weltersbach/XPathInformation Class Usage Examples

Public Methods

Method Description
GetNamespacesInScope ( XmlNamespaceScope scope ) : string>.IDictionary
LookupNamespace ( string prefix ) : string
LookupPrefix ( string namespaceName ) : string
SimpleXmlNamespaceResolver ( System.Xml.Linq.XDocument document ) : System.Collections.Generic

Private Methods

Method Description
GetNamespacePrefix ( System.Xml.Linq.XAttribute attribute ) : string
GetNamespacePrefix ( System.Xml.Linq.XElement element ) : string
GetNamespacePrefixFromXmlnsDeclaration ( System.Xml.Linq.XAttribute attribute ) : string

Method Details

GetNamespacesInScope() public method

public GetNamespacesInScope ( XmlNamespaceScope scope ) : string>.IDictionary
scope XmlNamespaceScope
return string>.IDictionary

LookupNamespace() public method

public LookupNamespace ( string prefix ) : string
prefix string
return string

LookupPrefix() public method

public LookupPrefix ( string namespaceName ) : string
namespaceName string
return string

SimpleXmlNamespaceResolver() public method

public SimpleXmlNamespaceResolver ( System.Xml.Linq.XDocument document ) : System.Collections.Generic
document System.Xml.Linq.XDocument
return System.Collections.Generic