XML and dataset

  • Thread starter Thread starter Venkat Chellam
  • Start date Start date
V

Venkat Chellam

I have a question. I have data base table with some data. I have to
run a query from the table and i have to show this data in XML file. I
know i could load into dataset and then say dataSet.GetXML or some
thing like that. But the data for each row is suppose to go on
different nodes. i Have schema available in in for XSD file. How do i
put the data in the appropariate child node and return the XML

venkat
 
Hi,

In this case I would suggest to transform DataSet XML into the structure you
need using some sort of XSL stylesheet. It would allow you to get another
hierarchical structure. There is no simple answer how to do this, because it
depends on what exactly you need to do
 
Do you have some examples of how to do this using XSL sheet.
See i have to get some data from database datables and these data goes
in different sections in XML file.

venkat
 
Back
Top