added pretty-print xml