javascript: using data uri to show xml stream -


i've done following display xml new browser window:

window.open('data:text/xml,' + encodeuricomponent( '<?xml version="1.0" encoding="utf-8"?><document xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02"><parent>test</parent></document>' )); 

works great in browsers... ie obviously. i'm using ie10. should work ? right now, xml url encoded , not show in new window.

from data protocol article in msdn library:

for security reasons, data uris restricted downloaded resources. data uris cannot used navigation, scripting, or populate frame or iframe elements.


Comments