Progress
Version 9
Product Update Bulletin


GET-TYPE-BY-INDEX() Method

Returns the type of the attribute at the given 1-based index.

Return Type: CHARACTER

Applies To: SAX-ATTRIBUTES Object

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’s NUM-ITEMS attribute.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095