self.nodeconv[unicode] = text
self.nodeconv[int] = text
self.nodeconv[long] = text
self.nodeconv[unicode] = text
self.nodeconv[int] = text
self.nodeconv[long] = text
node.children.append(self.nodefrom(child))
def addattr(self, node, k, v):
node.children.append(self.nodefrom(child))
def addattr(self, node, k, v):
- def __init__(self, ns, elcls = element, ctx=None):
+ def __init__(self, ns, elcls=element, ctx=None):