XmlElement.withAttribute

XmlElement withAttribute(string qname, string value) @safe

Fluent attribute setter.

Parameters

qnameAttribute QName.
valueAttribute value.

Returns

This element (for chaining).