public XMLAttr(name as String, value as String = "", ownerDocument as Document = null):
Creates an attribute node.
attr = XMLAttr("id", "42", document)