Re: dataset question



Hi,

Style*** transformation is one way. Another way is try to use XPath query
to select specific nodes and then persist result into the file or
XmlDocument.

--
Val Mazur
Microsoft MVP

http://xport.mvps.org



"CLEAR-RCIC" <CLEARRCIC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:40F2CBC3-D050-42BC-9FCF-E2AF41CF64E9@xxxxxxxxxxxxxxxx
>I have a dataset that contains the following XML:
>
> <NewDataSet>
> <WDisp>
> <ADDRESS>123 Main St </ADDRESS>
> <DISTANCE>5658</DISTANCE>
> <PARCELID>5658</PARCELID>
> </WDisp>
> <WDisp>
> <ADDRESS>234 Eml St </ADDRESS>
> <DISTANCE>1987</DISTANCE>
> <PARCELID>1685</PARCELID>
> </WDisp>
> <WDisp>
> <ADDRESS>345 Maple St </ADDRESS>
> <DISTANCE>65</DISTANCE>
> <PARCELID>6785</PARCELID>
> </WDisp>
> </NewDataSet>
>
> I would like to get the ADDRESS column into XML by itself like this:
>
> <ADDRESS>123 Main St </ADDRESS>
> <ADDRESS>234 Eml St </ADDRESS>
> <ADDRESS>345 Maple St </ADDRESS>
>
> What is the easiest way to do this? Style***? Put into a DataTable?
> Other? Could you provide a link to an example page or just provide some
> code?


.