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