self.nodeconv[str] = text
self.nodeconv[int] = text
self.nodeconv[float] = text
self.nodeconv[str] = text
self.nodeconv[int] = text
self.nodeconv[float] = 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):