def addElementToNode(self, Node, sName): x = Node.createElement(sName) print x self.Node.appendChild(x) return Node