GetAttributeByIndex MethodOfficial Content
Returns the value of an attribute of the current node indicated by its index.

Syntax

&DataType.GetAttributeByIndex(Index)

Where:
Index
Index of the attribute to be read.

Type Returned:
Character

Description

Returns the value of an attribute of the current node indicated by its index, obtained through the Read method or the ReadType method.
It is valid only for nodes of the Element type.          
Positions are numbered starting at 1.

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

GetAttributeByName
XmlReader Data Type