By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,667 Members | 2,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,667 IT Pros & Developers. It's quick & easy.

Creating XML document from TCP/IP

P: n/a
I have an application the contains an asynchronous client socket. The
application uses the BeginReceive to specify the callback function and the
byte array buffer for the received data.

The data recieved into my byte array buffer contains a byte representation
of a string (sent by my server). The string contains XML formatted text. For
example:

"<P><D><S><C>0</C><V>5555</V></S></D></P>"

I need to quickly/efficently convert the byte data received into an XML
document. The XML conversion does not have to be validated.

I've spent several hours reading the XML help documentation and there's so
much information I'm not sure where to start! Any help would be greatly
appreciated.
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You are looking for the LoadXML method:

http://msdn.microsoft.com/library/de...adxmltopic.asp

Richard
"Jake Haddock" <Ja*********@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
I have an application the contains an asynchronous client socket. The
application uses the BeginReceive to specify the callback function and the
byte array buffer for the received data.

The data recieved into my byte array buffer contains a byte representation
of a string (sent by my server). The string contains XML formatted text. For example:

"<P><D><S><C>0</C><V>5555</V></S></D></P>"

I need to quickly/efficently convert the byte data received into an XML
document. The XML conversion does not have to be validated.

I've spent several hours reading the XML help documentation and there's so
much information I'm not sure where to start! Any help would be greatly
appreciated.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.