XmlElement.getAttribute

string getAttribute(string qname) const @safe

Looks up an attribute by QName.

Returns

The attribute value, or empty string if not present.