Send XML and post Form together

Results 1 to 2 of 2

Thread: Send XML and post Form together

  1. #1
    Hiro Guest

    Default Send XML and post Form together

    Hi All,<BR>I have used the msxml3.dll to send an XML file from client<BR>to server side.The client side is as below:<BR>&#060;%<BR>set xmlhttp =server.createobject("Msxml2.XMLHTTP")<BR>set xmldoc = Server.CreateObject("Msxml2.DOMDocument")<BR>xmldo c.Load("c:xmls
    eview.xml")<BR>xmlhttp.Open "POST", "", _ false<BR>xmlhttp.Send(xmldoc) <BR>Response.ContentType = "text/xml"<BR>q = xmlhttp.responseText<BR>response.write q %&#062;<BR><BR>The server side is as follows<BR>&#060;%<BR>Response.Expires = -1000<BR>set result = Server.CreateObject("Msxml2.DOMDocument")<BR>resul t.load(CStr(Request)<BR> <BR>%&#062;<BR><BR>It works and I can receive the response from server side and <BR>print out the xml document at client.<BR><BR>However,it seems that I can only send the xml documnet but nothing else.<BR><BR>How can I send an XML together form elements if I have a<BR>form to post as well at client ?<BR><BR>Thank you very much!!!

  2. #2
    Join Date
    Dec 1969

    Default RE: Send XML and post Form together

    i&#039d look at using an upload component to get the file, but then you won&#039t be able to specify exactly which file you need....<BR><BR>jason

Posting Permissions

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