send XML with ASP

Results 1 to 2 of 2

Thread: send XML with ASP

  1. #1
    Join Date
    Dec 1969

    Default send XML with ASP

    I have to work with an individual that wants to be able to exchange data with my system using XML. Since the system I have to work with can only run conventional ASP, Im having some issues.<BR><BR>Ive written the page that recieves XML data no problem. But the problem Im having is then sending a response back with XML data. How can I possibly SEND XML data to a client using ASP?<BR><BR>Ive tried all sorts of methods but cannot seem to find a way to do it that actually works. Suggestions?

  2. #2
    Join Date
    Dec 1969

    Default Response.Write

    Response.Write "&#060;this&#062;&#060;is&#062;&#060;an&#062;&#060 ;xml&#062;response&#060;/xml&#062;&#060;/an&#062;&#060;/is&#062;&#060;/this&#062;"<BR><BR>Or, you can build the XML document using the MSXML2 parser and return it via:<BR>Response.Write XmlDocument.Xml<BR><BR>You also may want to set the content type to XML (before the Response.Write):<BR>Response.ContentType = "text/xml"<BR><BR>And, lastly - did you Google this?<BR>http://www.just****

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts