The Talend Open Studio component 'tWriteXMLField' is used to convert a set of input fields into XML with each row producing its own XML document. If you'd like to combine several rows into one XML document, create a Document object beforehand, and append with a DOM call in a tJavaRow.