XmlUtilsGetNamespaceManager Method |
Gets the namespace manager for the document passed in. This lame namespace manager is needed because MS' XPath methods like SelectNode REQUIRE
a namespace manager if a default namespace is defined, which is cumbersome, as all xpath queries have to use a FAKE prefix now. The fake prefix
is 'sd'
Namespace:
SD.LLBLGen.Pro.Core.Xml
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.9.0.0 (5.9.0)
Syntax public static XmlNamespaceManager GetNamespaceManager(
XmlDocument definition
)
Public Shared Function GetNamespaceManager (
definition As XmlDocument
) As XmlNamespaceManager
Parameters
- definition
- Type: System.XmlXmlDocument
The definition.
Return Value
Type:
XmlNamespaceManagerSee Also