コード例 #1
0
	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)
コード例 #2
0
	def _Decimal(self, oNode, DATA):
		DATA =  NativeToNative_Convertor._Decimal(self, oNode, DATA)
		elem = Element(oNode.Name)
		elem.text = str(DATA)
		return elem