Skip to content

XmlNode.GetAttribute

Overview

String XmlNode.GetAttribute ( attributeName )
Gets an attribute value on the current node.

Arguments

String attributeName

Specifies the name of the attribute

Remarks

If attribute is not exists return value is null.

Examples

Basic Usage

var name = $Xml.GetAttribute('Name');

See Also