This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Groovy and the fly likes How to generate XML from MAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "How to generate XML from MAP" Watch "How to generate XML from MAP" New topic
Author

How to generate XML from MAP

Venu Duggireddy
Greenhorn

Joined: Nov 17, 2009
Posts: 2
Hi

I want to generate XML from Map below is the sample code that I am playing with.



Current output



I want to generate output like this. Can some one help?



Venu Duggireddy
Greenhorn

Joined: Nov 17, 2009
Posts: 2
I found it. Wow still learning



 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to generate XML from MAP
 
Similar Threads
How to set and get values from HashMap using JSTL
Why Groovy?
How to write XML to a new file.
1000 characters
BigDecimal math operations problem (Groovy)