Sorry for this Knube Question But ....
The Sax parser As I use the Parser_EndElement is it iterating over the XML results from my web service like for each element set ??
I get something like this:::
I dont have to manually create a loop to harvest all of the CLocations do I ?
I'm going to amke a CLocation TYPE and save the results into a list of these types..
Do I have to make a loop in the Parser_EndElement ??
If not the how to I persist each node into the types, property to save them into a list
The Sax parser As I use the Parser_EndElement is it iterating over the XML results from my web service like for each element set ??
I get something like this:::
HTML:
<ArrayOfCLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
<CLocation>
<DBID>75852</DBID>
<LocationName>0103E01A1</LocationName>
<SKU />
<Shelf>1</Shelf>
<Orientation>0</Orientation>
<Short>false</Short>
<Out>false</Out>
<WalkSequence>0</WalkSequence>
</CLocation>
<CLocation>
<DBID>75853</DBID>
<LocationName>0103E01A2</LocationName>
<SKU>F9719-AF1A</SKU>
<Shelf>1</Shelf>
<Orientation>0</Orientation>
<Short>false</Short>
<Out>false</Out>
<WalkSequence>0</WalkSequence>
</CLocation>
<CLocation>
<DBID>75854</DBID>
<LocationName>0103E01D1</LocationName>
<SKU />
<Shelf>4</Shelf>
<Orientation>1</Orientation>
<Short>false</Short>
<Out>false</Out>
<WalkSequence>0</WalkSequence>
</CLocation>
<CLocation>
I dont have to manually create a loop to harvest all of the CLocations do I ?
I'm going to amke a CLocation TYPE and save the results into a list of these types..
Do I have to make a loop in the Parser_EndElement ??
If not the how to I persist each node into the types, property to save them into a list