I do almost the same thing, but would use XML.XML.Text := g rather than the LoadFromXML method.
David -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Software Developer Sent: Thursday, January 12, 2006 8:53 AM To: [email protected] Subject: [delphi-en] TXMLDocument with CGI application Hello All, I am trying to parse an XML data posted from HTTP Request within a CGI application. Here: g:=Request.ContentFields.Text; try xml.loadfromxml(g); except on E: Exception do t:='Error: ' + E.Message; end; Response.Content:=t; and I get "Expected a 'version=', 'encoding=' or 'standalone'" error. How can I solve this problem and get data from posted XML? Thank you very much __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

