What you want is a way to tell the DataSet the expected format of your data. You're in luck, DataSet only supports this feature.
You will need to create an XML schema for your data and load it into the DataSet before you select XML. In the diagram, define Col1 and Col2 as attributes of the ExperienceProfile element, and the DataSet will know how to format the output document to meet the requirements specified in the diagram.
If you are not comfortable creating a schema, you can create a sample XML file the way you want to format it, and then take a look at the XmlSchemaInference class within. This class can be used to automatically create your circuit, you may need to adjust the output a bit, but it can help if you are not familiar with XSD.
source share