Returns the value of an attribute of the current node indicated by its name.

Syntax

&DataType.GetAttributeByName(Name)

Where:
Name
Name of the element attribute.

Type Returned:
Character

Description

It returns the value of an attribute called Name of the current node, obtained through the Read method or the ReadType method.
It is valid only for nodes of the Element type.

Scope

Extended Data Types: XmlReader
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

GetAttributeByIndex
XmlReader Data Type