Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : GET-TYPE-BY-INDEX( ) method
 

GET-TYPE-BY-INDEX( ) method

Gets the type of the attribute at the given 1-based index.
Return type: CHARACTER
Applies to: SAX-attributes object handle

Syntax

GET-TYPE-BY-INDEX ( index )
index
An integer expression indicating the 1-based index of the attribute.
The attribute type is one of the following strings: "CDATA," "ID," "IDREF," "IDREFS," "NMTOKEN," "NMTOKENS," "ENTITY," "ENTITIES," or "NOTATION." These are always uppercase.
Returns the Unknown value (?) if the index is less than 1 or greater than the value of SAX-attributes object's NUM-ITEMS attribute.