Html & Xml api splitted.
Attribute selection by name or index