Instance Methodsoto-core 7.4.0SotoXML

addAttribute(_:)

add an attribute to an element. If one with this name already exists it is replaced

XML.swift:353
func addAttribute(_ node: XML.Node)