Two DataSets loaded with the same XML data and schema write two different XML data files. Bellow youâ??ll find a simple test code and the output.
Declare, instantiate and load the DataSets:

Dim dsOrig As New DataSet("Request")
Dim dsDup As New DataSet("Request")

Dim filePath As String
filePath = " PVIrequest.xml"
dsOrig.ReadXml(filePath)
dsOrig.WriteXmlSchema("Test.xsd")
dsDup.ReadXmlSchema("Test.xsd")
dsDup.ReadXml(filePath)

Edit the first DataSet and Write XML:

Dim swXML As New System.IO.StringWriter
With dsOrig
Dim rwEdit As DataRow
rwEdit = .Tables("eCommerce").Rows(0)
rwEdit.BeginEdit()
rwEdit("action") = "Test"
rwEdit.EndEdit()

.WriteXml(swXML)
TextBox1.Text = swXML.ToString â??See bellow

<eCommerce version="1.1" action="Test"><Requestor><ID>value</ID><Password>*******</Password></Requestor><Shipment action="GenerateLabel" version="1.0">
Complex Type data

</Shipment></eCommerce>

Edit the second DataSet and Write XML:

Dim swXML As New System.IO.StringWriter
With dsDup
Dim rwEdit As DataRow
rwEdit = .Tables("eCommerce").Rows(0)
rwEdit.BeginEdit()
rwEdit("action") = "Test"
rwEdit.EndEdit()

.WriteXml(swXML)
TextBox1.Text = swXML.ToString â??See bellow


<Request><eCommerce version="1.1" action="Test"><Requestor><ID>PENTA_0608</ID><Password>57ID57C7UH</Password></Requestor><Shipment action="GenerateLabel" version="1.0">
Complex Type data

</eCommerce></Request>

I need to get rid of the extra tags (the DataSet name).
I thank Cowboy for his Xml Transform suggestion, but I would like to know what am I missing with my approach?

As I mentioned in my previous cry for help, my way around it was to create doc as an XmlDataDocument(dsDup) and call doc.SelectSingleNode("/Request") function.
I hope that this message has clarified my problem.
Thank you.