lists->xml_content turn lists to xml without header.
xml-trim to generate compact xml.
these two function be combined together to generate the main functions.