Posted: Wed Feb 12, 2014 5:12 pm Post subject: Complex Message parsing
Master
Joined: 08 Jul 2013 Posts: 220
I need to parse the below message,
Name id <Address></Address> Age
Sample:
Radha 4 <Address><Door>4</Door><City>Chennai</City></Address> 28 Kumar 5 <Address><Door>6</Door><City>Kovai</City></Address> 26
It combines both TDS and XML.
Any links which provides the details about this?
Posted: Wed Feb 12, 2014 8:37 pm Post subject: Re: Complex Message parsing
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
GeneRK4 wrote:
It combines both TDS and XML.
No it doesn't. It a TDS message where one of the fields is an XML document. So parse it as a TDS message, then parse the XML document field separately.
You might also want to ask whoever came up with this message format what kind of substances they'd been abusing when they came up with this without realizing what a stupid idea it is. _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum