Overview
Gets an attribute value on the current node.string myXml.GetAttribute(attributeName: string)
Arguments
string attributeName
Specifies the name of the attribute
Remarks
Returns null if attribute does not exist.
Example
Basic Usage
Code Block | ||
---|---|---|
| ||
var name = $Xml.GetAttribute('Name'); |