Re: Processing XML Input
----- Original Message ----- From: "D C J." <domingo@u...> To: <xml-dev@l...> Sent: Wednesday, March 27, 2002 3:38 PM Subject: Processing XML Input > Hi, > I'm relatively new to XML and was wondering what were the > more common ways of transporting XML, specifically over HTTP. > I have a site that will be accepting the XML data from the > client, in which an ASP page will do the actual processing. > Currently, I have the XML sent as a query string within the > HTTP request. The ASP page then loads the query string into an > XML DOM object. Ultimately though, I will not always have > control over the sending (client) end. I'd like to be able to > handle the XML input appropriately, regardless of how it was > sent. Any thoughts? Well, it is definitely better to receive XML in the body of a POST request instead of through the query string (this can be tested for, assuming the client is kind enough to provide it, by check the Content-Type header for "text/xml"). If the XML is long enough, some HTTP server implementations may not be able to handle the long query string. Apart from this, I have no suggestion for you, especially if you have no control over how the client will be sending you the XML. --- Seairth Jacobs seairth@s... www.seairth.com
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format