it is not possible to set ContentType on the client side, window.document.open takes a mime type as the first parameter, but only "text/html" is supported, so your best shot is probably to set the other frame's url which points to file with text/xml content type