XmlElement.opIndex

string opIndex(string attrName) const @safe

Allows reading an attribute value using index syntax.

Parameters

attrNameThe attribute name (QName).

Returns

The attribute value, or empty string if not present.