Show an XML on Internet Explorer

cferriol

Member
Hi
I need to reply an XML document as answer of a web request.
Por example, If I write this URL on Internet Explorer
http://localhost/cgi-bin/wspd_cgi.sh/WService=planta/web_prueba.p?number=1
Must display an XML.
I try to SAVE the XML to standart output using STREAM. I found that when yo don't specified the stream variable Progress use the session unnamed stream (I supouse STDOUT, isn't it?)
What I do do is after create and generate the XML object
hDoc:SAVE("stream","").

The IExplorer send the message: "El documento XML debe tener un elemento de nivel superior. Error al procesar el recurso http://..."
 
Top