 | XMLUtilsCreateXmlNamespaceManager Method |
Creates an Xml NamespaceManager for an XML document by looking
at all of the namespaces defined on the document root element.
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static XmlNamespaceManager CreateXmlNamespaceManager(
XmlDocument doc,
string defaultNamespace
)
Public Shared Function CreateXmlNamespaceManager (
doc As XmlDocument,
defaultNamespace As String
) As XmlNamespaceManager
public:
static XmlNamespaceManager^ CreateXmlNamespaceManager(
XmlDocument^ doc,
String^ defaultNamespace
)
static member CreateXmlNamespaceManager :
doc : XmlDocument *
defaultNamespace : string -> XmlNamespaceManager
Parameters
- doc
- Type: System.XmlXmlDocument
The XmlDom instance to attach the namespacemanager to - defaultNamespace
- Type: SystemString
The prefix to use for prefix-less nodes (which are not supported if any namespaces are used in XmlDoc).
Return Value
Type:
XmlNamespaceManager[Missing <returns> documentation for "M:Koden.Utils.XMLUtils.CreateXmlNamespaceManager(System.Xml.XmlDocument,System.String)"]
See Also