Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A2955200B6E for ; Sun, 21 Aug 2016 09:06:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A116E160A87; Sun, 21 Aug 2016 07:06:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 19A59160A81 for ; Sun, 21 Aug 2016 09:06:20 +0200 (CEST) Received: (qmail 48261 invoked by uid 500); 21 Aug 2016 07:06:20 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 48247 invoked by uid 99); 21 Aug 2016 07:06:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Aug 2016 07:06:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 35CE81A061A for ; Sun, 21 Aug 2016 07:06:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.486 X-Spam-Level: *** X-Spam-Status: No, score=3.486 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 4DHVWmbbXsQe for ; Sun, 21 Aug 2016 07:06:17 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id BFBE75FB03 for ; Sun, 21 Aug 2016 07:06:16 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mbob.nabble.com (Postfix) with ESMTP id 6A71F2F3F2DF for ; Sun, 21 Aug 2016 00:06:15 -0700 (PDT) Date: Sun, 21 Aug 2016 00:06:15 -0700 (PDT) From: GroovyBeginner To: dev@groovy.incubator.apache.org Message-ID: <1471763175374-5734786.post@n5.nabble.com> Subject: Convert Employee Node object to XML Groovy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Sun, 21 Aug 2016 07:06:21 -0000 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.