Table of Contents

Method GetNamedItem

Namespace
SharpVectors.Dom
Assembly
SharpVectors.Core.dll

GetNamedItem(string)

Retrieves an XmlNode specified by name.

XmlNode GetNamedItem(string name)

Parameters

name string

The qualified name of the node to retrieve. It is matched against the Name property of the matching node.

Returns

XmlNode

An XmlNode with the specified name or null if a matching node is not found.

GetNamedItem(string, string)

Retrieves a node with the matching LocalName and NamespaceURI.

XmlNode GetNamedItem(string localName, string namespaceURI)

Parameters

localName string

The local name of the node to retrieve.

namespaceURI string

The namespace Uniform Resource Identifier (URI) of the node to retrieve.

Returns

XmlNode

An XmlNode with the matching local name and namespace URI or null if a matching node was not found.