Hi
I’m using vb.net to create an xml file based on an xsd file.
I can create the file, except for the header
The file I’m trying to create needs to begin:
<?xml version="1.0" encoding="UTF-8" ?>
- <datafeed_response xmlns=" version="2.5">
- <cards>
Whereas using the xsd file to create this results in:
<?xml version="1.0" standalone="yes"?>
<DatafeedRequest xmlns=" <datafeed_request version="2.5" />
<cards>
The code I’m using to generate this is:
With myXmlDataDocument
'datafeed_request
xmlDataRow = .DataSet.Tables("datafeed_request").Rows.Add()
xmlDataRow.Item("version") = "2.5"
'cards
xmlDataTable1 = .DataSet.Tables("cards")
xmlDataTable1.Rows.Add()
Any help, is much appreciated.
I’m using vb.net to create an xml file based on an xsd file.
I can create the file, except for the header
The file I’m trying to create needs to begin:
<?xml version="1.0" encoding="UTF-8" ?>
- <datafeed_response xmlns=" version="2.5">
- <cards>
Whereas using the xsd file to create this results in:
<?xml version="1.0" standalone="yes"?>
<DatafeedRequest xmlns=" <datafeed_request version="2.5" />
<cards>
The code I’m using to generate this is:
With myXmlDataDocument
'datafeed_request
xmlDataRow = .DataSet.Tables("datafeed_request").Rows.Add()
xmlDataRow.Item("version") = "2.5"
'cards
xmlDataTable1 = .DataSet.Tables("cards")
xmlDataTable1.Rows.Add()
Any help, is much appreciated.