Esempio n. 1
0
 def __init__(self, content):
     Element.__init__(self, content.name, content.parent)
     self.__content = content
Esempio n. 2
0
 def __init__(self, root=None):
     Element.__init__(self, 'document')
     if root is not None:
         self.append(root)
Esempio n. 3
0
 def __init__(self, root=None):
     Element.__init__(self, 'document')
     if root is not None:
         self.append(root)