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.serializeToString(xmlDoc);
//ow.document.open(' text/xml') same result
ow.document.open('content-type: text/xml');
ow.document.write(str);
ow.document.close();
Faser
--
FABIO SERRA
*Questo testo deve essere valutato secondo il senso della RFC-3*
Per rispondere in e-mail sostituire "invalid" con "faser"
--------------------