Is it possible to marshall all pojo (of same type) in a single xml using o/x mappers? like I want to generate the following xml file
<xml>
<record1>
<id>1</id>
<name>abc</name>
</record1>
<record2>
<id>2</id>
<name>xyz</name>
</record2>
</xml>
here record1 and record 2 are same type of objects.Means I want to write first record1 object in xml file than record2 object in that same xml file.