public getAttribute(name as String) as String
Returns an attribute value by name.
Attribute value, or empty string when absent.
id = element.getAttribute("id")