def asDom(self,parent): element = Dommable.asDom(self,parent) consolidatedDict = Dict() for key in self._fields.keys(): consolidatedDict.update({key:self[key]}) self.appendChildObject(element,consolidatedDict,'data') return element
def asDom(self,parent): element = Dommable.asDom(self,parent) self.castToDommable(self.data).asDom(element) return element