def get_document_content(xml_node):
 pretty_indent(xml_node)
 return tostring(xml_node, 'utf-8')

def get_document_content ( xml_node ) : pretty_indent ( xml_node ) return tostring ( xml_node , 'utf-8' )
print nicely formatted xml to a string .