klyn.io.xml.sax.SAXAttributes.getIndex
method
public getIndex(uri as String, localName as String) as Int
Description

Finds an attribute by Namespace URI and local name.

Parameters
ParameterDescription
uriNamespace URI, or empty string.
localNameLocal attribute name.
Returns

Zero-based index, or -1 when absent.

Example
index = attrs.getIndex("", "id")