<PackageReference Include="System.Xml.ReaderWriter" Version="4.0.11-beta-23409" />

IXmlNamespaceResolver

public interface IXmlNamespaceResolver
Provides read-only access to a set of prefix and namespace mappings.

Gets a collection of defined prefix-namespace mappings that are currently in scope.

string LookupNamespace(string prefix)

Gets the namespace URI mapped to the specified prefix.

string LookupPrefix(string namespaceName)

Gets the prefix that is mapped to the specified namespace URI.