From c8116d75f278fd2127406079d529b1e05adbecce Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 10 Nov 2011 21:48:07 -0500 Subject: [PATCH] added append() --- sfa/util/xml.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sfa/util/xml.py b/sfa/util/xml.py index c8d6e398..d2bb6a7a 100755 --- a/sfa/util/xml.py +++ b/sfa/util/xml.py @@ -55,6 +55,9 @@ class XmlNode: element = etree.SubElement(self.node, name, **kwds) return XmlNode(element, self.namespaces) + def append(self, elem): + self.node.append(elem) + def remove_elements(name): """ Removes all occurences of an element from the tree. Start at -- 2.43.0