Click to return to the XML (Extensible Markup Language) home page    
Getting the XML Data     Saving XML     Using XML on the Server    
Web Workshop  |  XML (Extensible Markup Language)

Sending XML Between the Client and Server


When sending XML to the client, you first need to create a textual version of the XML.

To create the textual version, you can use the xml property of the root node of the XML document, as shown in the following fragment:

Response.Write(xObj.xml);

You can also use the technique described in Getting the XML Data.

Once you have the XML text string, there are several approaches for sending it to the client in response to a client request:

Getting XML Back from the Client

You can send XML to the server using any normal technique for sending information to the server, including:

See the DHTML documentation for details on posting data.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.