import grails.converters.XML grailsApplication.domainClasses.each { def domainClass -> dataMap[domainClass.clazz.simpleName] = domainClass.clazz.findAll(); } String xmlString = new XML(dataMap).toString()
No comments:
Post a Comment