groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GroovyBeginner <groovybegin...@gmail.com>
Subject Convert Employee Node object to XML Groovy
Date Sun, 21 Aug 2016 07:06:15 GMT
I have Employee Node Object of class groovy.util.Node 

xml=Employees[attributes={}; value=[Employee[attributes={};
value=[ID[attributes={}; value=[123]], Addresses[attributes={};
value=[Address[attributes={}; value=[Country[attributes={}; value=[USA]],
ZipCode[attributes={}; value=[40640]]]]]]]], Employee[attributes={};
value=[ID[attributes={}; value=[345]], Addresses[attributes={};
value=[Address[attributes={}; value=[Country[attributes={}; value=[CA]],
ZipCode[attributes={}; value=[50640]]]]]]]]]] 

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-Groovy-tp5734786.html
Sent from the Groovy Dev mailing list archive at Nabble.com.

Mime
View raw message