O
ouioui2000
Hi,
I try to generate xml flow with javascript in a new windows.
Here is my javascritp code :
<code>
fenetrePopUp =
window.open('','_blank','width=500,height=300,scrollbars=yes,status=yes,resizable=yes');
fenetrePopUp.document.open("application/xml+xsl");
fenetrePopUp.document.write(myCodeXML);
</code>
Here is the content of myCodeXML variable :
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="surface.xsl"?>
<STUCTURE id=155 >
</STUCTURE>
The browser (IE) window don't print anything ! He don't reconize my xml
format.
How can i say to the browser "He guy, my flow is XML" ?
I try to generate xml flow with javascript in a new windows.
Here is my javascritp code :
<code>
fenetrePopUp =
window.open('','_blank','width=500,height=300,scrollbars=yes,status=yes,resizable=yes');
fenetrePopUp.document.open("application/xml+xsl");
fenetrePopUp.document.write(myCodeXML);
</code>
Here is the content of myCodeXML variable :
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="surface.xsl"?>
<STUCTURE id=155 >
</STUCTURE>
The browser (IE) window don't print anything ! He don't reconize my xml
format.
How can i say to the browser "He guy, my flow is XML" ?