XmlUtils.CreateXmlNamespaceManager

Creates an Xml NamespaceManager for an XML document by looking at all of the namespaces defined on the document root element.

public static XmlNamespaceManager CreateXmlNamespaceManager(XmlDocument doc,
	string defaultNamespace)

Parameters

doc
The XmlDom instance to attach the namespacemanager to

defaultNamespace
The prefix to use for prefix-less nodes (which are not supported if any namespaces are used in XmlDoc).


See also:

Class XmlUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic