public getIndex(uri as String, localName as String) as Int
Returns the index for a Namespace URI and local name.
Zero-based index, or -1 when no attribute matches.
-1
index = attrs.getIndex("", "id")