XmlElement.opIndexAssign

void opIndexAssign(string value, string attrName) @safe

Allows setting an attribute value using index syntax.

Parameters

valueThe attribute value.
attrNameThe attribute name (QName).