Method updates the object from the xml.

def LoadFromXml(self, node):
		"""	Method updates the object from the xml. """
		import os

		self.classId = node.localName
		metaClassId = UcsUtils.FindClassIdInMoMetaIgnoreCase(self.classId)

		if metaClassId:
			self.classId = metaClassId

		if node.hasAttribute(NamingPropertyId.DN):
			self.dn = node.getAttribute(NamingPropertyId.DN)

		if self.dn:
			self.rn = os.path.basename(self.dn)

		# Write the attribute and value to dictionary properties, as it is .
		self.WriteToAttributes(node)

		# Run the LoadFromXml for each childNode recursively and populate child list too.
		if (node.hasChildNodes()):
			# childList = node._get_childNodes()
			# childCount = childList._get_length()
			childList = node.childNodes
			childCount = len(childList)
			for i in range(childCount):
				childNode = childList.item(i)
				if (childNode.nodeType != Node.ELEMENT_NODE):
					continue
				c = _GenericMO()
				self.child.append(c)
				c.LoadFromXml(childNode)