GetAttributeByName method

Official Content
This documentation is valid for:
Returns the value of an attribute of the current node indicated by its name.

Syntax

&VarBasedOnXmlReader.GetAttributeByName(Name)

Where:

Name
    Name of the element attribute.

Type Returned:
Character

Scope

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

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 Elements type.

See Also

GetAttributeByIndex
XmlReader Data Type