Adding function: dict2.addto_attr_set
Updating function: xml2.toprettyxml