Instead of using println!, we should use the log crate. from_xml_element functions should start with a trace! to allow easier debugging in case of an error.
println!
from_xml_element
trace!