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

Re: XML and dataset by Val

Val
Wed Sep 08 20:44:59 CDT 2004

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

--
Val Mazur
Microsoft MVP


"Venkat Chellam" <venkat_chellam@yahoo.com> wrote in message
news:ac8e637f.0409081309.60abea83@posting.google.com...
>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