Move attachments into xml_example and use system-out tag