Unfortunately Oxygen doesn't provide any automatic means to map the data from a CSV file to an XML document that conforms to an XML schema.
This has to be done manually in two steps:
Import the CSV to an XML file
File -> Import -> Text File
. Browse for the .csv file and press OK. You will obtain the Import criteria
dialog that allows you to choose the field delimiter from the CSV and customize the form of the destination XML file(Change labels
Process the imported XML file either manually or by transforming it with an XSLT stylesheet to conform to the schema.
Generate a sample XML Instance(Tools -> Generate Sample XML Files
) from the XML schema and use the Grid mode(Document -> Edit Mode -> Grid
) for both files for transferring the data(copy/paste) from the imported XML to the sample XML instance that's been generated.
You can dock the editors side by side(click and drag an editor tab to the left or to the right side) to follow both files at the same time. Restore them to the default stacked layout by using Window -> Stack Editors
You can find a similar discussion here:
match data to schema