Creating XML document from TCP/IP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jake Haddock

    #1

    Creating XML document from TCP/IP

    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.
  • Richard L Rosenheim

    #2
    Re: Creating XML document from TCP/IP

    You are looking for the LoadXML method:

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

    Richard


    "Jake Haddock" <JakeHaddock@di scussions.micro soft.com> wrote in message
    news:74066388-4EB9-4A53-B519-979222F135E1@mi crosoft.com...[color=blue]
    > 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.[/color]
    For[color=blue]
    > 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.[/color]


    Comment

    Working...