Hi All,
I have a TCP Client which reads the data from the socket. Now I have to deserialize the received data. The data can contain multiple XML documents like :
<customer field="value">
<address>road 11<address/>
<customer/>
<supplier>
<goods>printers <goods/>
<supplier/>
In this case I want to deserialize customer and secondly the supplier. I know how I deserialize each individual document as long as I know which document should be deserialized. Ofcourse, I can check the name of the root tag and fire the applicable deserialization function. But I hope there is a more generic way to do this.
Thanks for your help in advance
I have a TCP Client which reads the data from the socket. Now I have to deserialize the received data. The data can contain multiple XML documents like :
<customer field="value">
<address>road 11<address/>
<customer/>
<supplier>
<goods>printers <goods/>
<supplier/>
In this case I want to deserialize customer and secondly the supplier. I know how I deserialize each individual document as long as I know which document should be deserialized. Ofcourse, I can check the name of the root tag and fire the applicable deserialization function. But I hope there is a more generic way to do this.
Thanks for your help in advance
Comment