public getIndex(qName as String) as Int:
Finds an attribute by qualified name.
Zero-based index, or -1 when absent.
-1
index = attrs.getIndex("xml:lang")