code: def _parse_input_node(cls, node):
          
          data = {}
          child = node.getchildren()
          if not child and node.get('name'):
              val = node.text
          elif child:  # if tag = "{http://activiti.org/bpmn}script" then data_typ = 'script'
              data_typ = child[0].tag.split('}')[1]
              val = getattr(cls, '_parse_%s' % data_typ)(child[0])
          data[node.get('name')] = val
          return data
docs: :param node: xml node
          :return: dict