Pretty print diagram contents.xml