+ attrs_to_remove.append(attr.name)
+ if attr.name.startswith("xmlns:") and attr.value == "http://template.sesse.net/" and clean:
+ attrs_to_remove.append(attr.name)
+
+ for a in attrs_to_remove:
+ if child.hasAttribute(a):
+ child.removeAttribute(a)
+