I have an XML file from a client that I generated a schema from.
I Open a DataSet and read the schema to get the tables and relationships. I
write my tables and fields and assign parent rows etc. When I write the
data, the output file has a new wrapper element with the name of dataset. Is
there a way to write the XML from the dataset without this wrapper? I also
need to provide the encoding attribute like the input file.
Example input XML
<?xml version="1.0" encoding="ISO-8859-1"?>
<Customer Name="XXX" Trigram="XXX">
<InputFile Name="E2820" Quantity="1" />
</Customer>
Example output XML
<?xml version="1.0" standalone="yes"?>
<Customers>
<Customer Name="Test" Trigram="TES">
<InputFile Name="x" Quantity="57" />
</Customer>
</Customers>
--
Steve G