title: The inverse process to XmlSlurper
body: <p>I need to process some fields of a type of XML files and write the data back to XML in my current project. <code>XmlSlurper</code> is great in the sense of reading in an XML file. However, is there an equally convenient way in groovy to write the content from <code>XmlSlurper</code> back to XML? Thank you in advance.</p>