You can use XmlNodePrinter directly. That is what serialize will use anyway:
new XmlNodePrinter().print(node)
Cheers, Paul.
On Sun, Aug 21, 2016 at 3:03 AM, GroovyBeginner
wrote:
> I have Employee Node Object of class groovy.util.Node
>
>
>
> How to convert this object to XML with out using the
I have Employee Node Object of class groovy.util.Node
How to convert this object to XML with out using the serialize method IN
Groovy?
--
View this message in context:
http://groovy.329449.n5.nabble.com/Convert-Employee-Node-object-to-XML-tp5734770.html
Sent from the Groovy Dev mailing list