def _Decimal(self, oNode, DATA): """ DATA is an XML node containing a string """ if DATA.text == None: return None else: return NativeToNative_Convertor._Decimal(self, oNode, DATA.text)
def _Decimal(self, oNode, DATA): DATA = NativeToNative_Convertor._Decimal(self, oNode, DATA) elem = Element(oNode.Name) elem.text = str(DATA) return elem