SYMPTOMS
When you use Internet Explorer to view an XML page that is transformed by using an XSL style sheet that generates an IFRAME and a FORM that has the target set to the IFRAME, when the form is submitted, you view the main page instead of the IFRAME.
For example, this problem occurs in the following scenario:
- You create the following three files:
- Test.xml
<?xml version="1.0"?>
<?xml:stylesheet type="text/xsl" href="test.xsl"?>
<DISPLAY></DISPLAY>
- Test.xsl
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/xsl/transform" version="1.0">
<xsl:output method="html" encoding="iso-8859-1"/>
<xsl:template match="/">
<html>
<body>
<form action="iframe.asp" id="f" name="f" method="post" target="agents">
<input type="submit" id="r" name="r" value="Go"/>
</form>
<iframe id="agents" name="agents" src="iframe.asp"></iframe>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
- Iframe.asp
<%
response.write "<?xml version=""1.0""?><DISPLAY>some text</DISPLAY>"
%>
- In Internet Explorer, open the Test.xml file.
- Click Go.
Result: Data is posted the main page.
Expected results: The data is posted in the IFRAME (the form target).
RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Internet Explorer 6 Service Pack 2 that contains this fix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this fix for Internet Explorer 5.5 Service Pack 2 has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the
Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File name
--------------------------------------------------------------
28-Aug-2002 16:01 5.50.4920.2800 2,756,368 Mshtml.dll