The SaxAttributes class / om.SaxAttributes methods |
Returns the number of attributes in the list.
getLength() RETURNING result INTEGER
The getLength() method returns the number of attributes in the current SAX attribute list.
Use this method with getName() and getValueByIndex() to retrieve attributes by position.
DEFINE attrs om.SaxAttributes, index INTEGER ... FOR index = 1 TO attrs.getLength() DISPLAY attrs.getName(index), " = ", attrs.getValueByIndex(index) END FOR