code: def get_element_child_info(doc, attr):
      
      props = []
      for child in doc:
          if child.tag not in ["author_signature", "parent_author_signature"]:
              props.append(getattr(child, attr))
      return props
docs: Get information from child elements of this elementas a list since order is important.
  
      Don't include signature tags.
  
      :param doc: XML element
      :param attr: Attribute to get from the elements, for example "tag" or "text".