code: def parse_xml_node(self, node):
          '''Parse an xml.dom Node object representing a location into this
          object.
  
          '''
          self.x = int(node.getAttributeNS(RTS_EXT_NS, 'x'))
          self.y = int(node.getAttributeNS(RTS_EXT_NS, 'y'))
          self.height = int(node.getAttributeNS(RTS_EXT_NS, 'height'))
          self.width = int(node.getAttributeNS(RTS_EXT_NS, 'width'))
          self.direction = dir.from_string(node.getAttributeNS(RTS_EXT_NS,
                  'direction'))
          return self parse_xml_node(self, node):
          '''Parse an xml.dom Node object representing a location into this
          object.
  
          '''
          self.x = int(node.getAttributeNS(RTS_EXT_NS, 'x'))
          self.y = int(node.getAttributeNS(RTS_EXT_NS, 'y'))
          self.height = int(node.getAttributeNS(RTS_EXT_NS, 'height'))
          self.width = int(node.getAttributeNS(RTS_EXT_NS, 'width'))
          self.direction = dir.from_string(node.getAttributeNS(RTS_EXT_NS,
                  'direction'))
          return self
docs: Parse an xml.dom Node object representing a location into this
          object.