code: def _parse_tree(self, node):
          
          if 'type' in node.attrib:
              self.kind = node.attrib['type']
          for c3 in node:
              if c3.tag == 'caption':
                  self.caption = _parse_desc(c3)
              elif c3.tag == 'image':
                  im = Image()
                  im._parse_tree(c3)
                  self.add_image(im)
docs: Parse a <screenshot> object