commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [betwixt] writing a collection without enclosing each set of nodes
Date Thu, 20 Oct 2011 08:53:54 GMT

I have a class which I am writing to XML, with a method:

List<StatusCount> getStatusCounts() {

The StatusCount object has the methods:

String getStatusName() { ... }
String getStatusCount() { ... }

I want to output the following XML fragment (I have to conform to a  
third party DTD):


I am using .betwixt files to configure my output, as the node names  
don't match the property names. I can't work out how to do this - each  
Status/StatusCount node is wrapped in a tag. Is this possible?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message