//textStr represents large xml file
win.document.write('
');
win.document.getElementById('container').appendChild(document.createTextNode(textStr));
when textStr file is small in size like less than 2 MB it works fine, but if the size is more than 2 MB , it opens the window browser but its blank
Any suggestions how to resolve this?
New contributor
Praveen Kumar Sabbineni is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.