Xml.GetAttribute

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

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

Copyright © 2010 - 2023 Emakin. All rights reserved.