Using Mozilla, I would like to open a new window and write an
XML string. I would like the XML is properly rendered, but any attempts
failed. The XML is always rendered as text and the page type is always
text/html.
Eg:
ow = window.open("", "myWin");
var s = new XMLSerializer() ;
var str = s.serializeToSt ring(xmlDoc);
//ow.document.ope n(' text/xml') same result
ow.document.ope n('content-type: text/xml');
ow.document.wri te(str);
ow.document.clo se();
Faser
--
FABIO SERRA
*Questo testo deve essere valutato secondo il senso della RFC-3*
Per rispondere in e-mail sostituire "invalid" con "faser"
--------------------
XML string. I would like the XML is properly rendered, but any attempts
failed. The XML is always rendered as text and the page type is always
text/html.
Eg:
ow = window.open("", "myWin");
var s = new XMLSerializer() ;
var str = s.serializeToSt ring(xmlDoc);
//ow.document.ope n(' text/xml') same result
ow.document.ope n('content-type: text/xml');
ow.document.wri te(str);
ow.document.clo se();
Faser
--
FABIO SERRA
*Questo testo deve essere valutato secondo il senso della RFC-3*
Per rispondere in e-mail sostituire "invalid" con "faser"
--------------------
Comment