Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating XML
Message
From
27/01/2003 13:17:50
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00745133
Message ID:
00745889
Views:
17
Another question,

Now for some reason when I create the XML file on the root element it's writting the following:
   <Root xmlns="http://tempuri.org/<datasetname>.xsd">
If I take the xmlns part out my XSLT file shows data. If I leave it in there no data is shown. I am using the writexml command from the dataset object. Is there a way to get rid of the hyperlink on the root element of the XML?


>It should.
>
>>Jayesh,
>>
>> That works, but this is what it writes to the xml file
>>
>>  <Table xmlns="Contacts">
>>
>>My next question is if I reference the table contacts in a XSLT file will it work?
>>
>>>Did you try to change the name using DataSet.TableName or DataSet.Name?
>>>
>>>>All,
>>>>
>>>> When I write an XML file from a dataset the name of the table is "table" instead of the correct name of the table. Is there a way to change this to the correct tablename?
Thanks

Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform