Re: dataset question
- From: "Val Mazur \(MVP\)" <group51a@xxxxxxxxxxx>
- Date: Sat, 20 Aug 2005 21:33:11 -0400
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?
.
- References:
- dataset question
- From: CLEAR-RCIC
- dataset question
- Prev by Date: Re: Trapping CommitTrans - returns success even when failed!
- Next by Date: Re: ADODB Command memory leak
- Previous by thread: dataset question
- Next by thread: Selecting a data row (register ) with Listbox or Combo
- Index(es):