groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: Convert Employee Node object to XML
Date Sat, 20 Aug 2016 23:07:31 GMT
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
<groovybeginner@gmail.com> wrote:
> 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 archive at Nabble.com.

Mime
View raw message