change some info level logging for per page processing into detail level logging on trace logger
replace the try block in document_to_element_list to use getattr instead and add comment on the reason why sometimes type attribute may not exist for an element
document_to_element_list
to usegetattr
instead and add comment on the reason why sometimestype
attribute may not exist for an element