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

Pure XML to an ASP page without changing the actual text?

P: n/a
I am posting XML to a ASP web page, but it is not picking up the pure XML
messages, why not?

We have to use ENCTYPE="text/plain", otherwise the XML code is changed by
Microsoft.

Here is the listening page

'Get the requesting information
XMLString = Trim(Request.Form("XML"))
If len(XMLString) = 0 Then XMLString = trim(Request.Form())
If len(XMLString) = 0 Then XMLString = trim(Request.QueryString("XML"))

Nothing is coming back when posting the following page.

Here is the post page

<form name="form1" method="post" action="ServerRequest.asp"
ENCTYPE="text/plain">
<p>
<textarea name="XML" cols="100" rows="20" id="XML">
<Server_Requests>
<Server_Request>
<Login>
<ID>10</ID>
<Password/>
</Login>
<Action>
<ActionID>2000</ActionID>
<Message>help</Message>
</Action>
</Server_Request>
</Server_Requests>

</textarea>
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Bryan Avery" <b_*****@yahoo.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
| I am posting XML to a ASP web page, but it is not picking up the pure XML
| messages, why not?
Response.Write Request.Form("XML") '???
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.