withAttributes

open fun withAttributes(attributes: Map<String, String>): Xml

Fluent wrapper for setAttribute.