This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
1000 characters
How to write XML to a new file.
How to set and get values from HashMap using JSTL
Why Groovy?
BigDecimal math operations problem (Groovy)