added create_doc_element_list to transform doc list to an element.