Guimar
2005-11-02 02:29:03 UTC
I have a CGI application that needs to return xml in VsC6.0.
If I send the data in an html wrapper the javascript sees it but cant parse
it.
I Cant find any documentation what the preamble needs to look like so msxml2
can recognize the response as xml and parse the data.
If I send the XML without a header I get back an HTTP header 500 error
If I have the CGI program save the data to a file and use another
javascript call to request the textfile it reads and parses correctly.
If I send the data in an html wrapper the javascript sees it but cant parse
it.
I Cant find any documentation what the preamble needs to look like so msxml2
can recognize the response as xml and parse the data.
If I send the XML without a header I get back an HTTP header 500 error
If I have the CGI program save the data to a file and use another
javascript call to request the textfile it reads and parses correctly.