tree_prior_to_xml_tracelog function

Creates the tree prior's XML for the tracelog section