Microsoft KB Archive/323069

= Internet Explorer Does Not Go to IFRAME That Is Set As a Target of FORM by Using an XSL Style Sheet =

Article ID: 323069

Article Last Modified on 11/15/2007

-

APPLIES TO

 Microsoft Internet Explorer 5.5 Service Pack 1 Microsoft Internet Explorer 5.5 Service Pack 2 Microsoft Internet Explorer 5.5 Service Pack 1 Microsoft Internet Explorer 5.5 Service Pack 2 Microsoft Internet Explorer 5.5 Service Pack 1 Microsoft Internet Explorer 5.5 Service Pack 2 Microsoft Internet Explorer 6.0, when used with:  Microsoft Windows XP Home Edition</li></ul>

<ul> Microsoft Windows XP Professional</li></ul>

<ul> Microsoft Windows XP Media Center Edition 2002</li></ul>

<ul> Microsoft Windows XP Tablet PC Edition</li></ul>

<ul> Microsoft Windows 2000 Advanced Server</li></ul>

<ul> Microsoft Windows 2000 Datacenter Server</li></ul>

<ul> Microsoft Windows 2000 Professional Edition</li></ul>

<ul> Microsoft Windows 2000 Server</li></ul>

<ul> Microsoft Windows NT Server 4.0 Standard Edition</li></ul>

<ul> Microsoft Windows NT Server 4.0, Terminal Server Edition</li></ul>

<ul> Microsoft Windows NT Workstation 4.0 Developer Edition</li></ul>

<ul> Microsoft Windows 98 Second Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q323069

<div class="symptoms_section">

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: <ol> You create the following three files: <ul>  Test.xml <pre class="fixed_text">  <?xml version=&quot;1.0&quot;?> <?xml:stylesheet type=&quot;text/xsl&quot; href=&quot;test.xsl&quot;?> <DISPLAY></DISPLAY> </li>  Test.xsl <pre class="fixed_text">  <?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?> <xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/xsl/transform&quot; version=&quot;1.0&quot;> <xsl:output method=&quot;html&quot; encoding=&quot;iso-8859-1&quot;/> <xsl:template match=&quot;/&quot;> <form action=&quot;iframe.asp&quot; id=&quot;f&quot; name=&quot;f&quot; method=&quot;post&quot; target=&quot;agents&quot;> <input type=&quot;submit&quot; id=&quot;r&quot; name=&quot;r&quot; value=&quot;Go&quot;/> <iframe id=&quot;agents&quot; name=&quot;agents&quot; src=&quot;/?scid=iframe.asp&quot;> </xsl:template> </xsl:stylesheet> </li>  Iframe.asp <pre class="fixed_text">  <% response.write &quot;<?xml version=&quot;&quot;1.0&quot;&quot;?><DISPLAY>some text</DISPLAY>&quot; %>                       </li></ul> </li> In Internet Explorer, open the Test.xml file.</li> <li>Click Go.</li></ol>

Result: Data is posted the main page.

Expected results: The data is posted in the IFRAME (the form target).

<div class="cause_section">

CAUSE
The problem occurs because MSHTML does not find the window that is associated to the target's IFRAME.

<div class="resolution_section">

RESOLUTION
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Internet Explorer 6 service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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. <pre class="fixed_text">  Date         Time   Version             Size   File name --  28-Aug-2002  16:01  5.50.4920.2800  2,756,368  Mshtml.dll

<div class="workaround_section">

WORKAROUND
To work around this issue, you can perform a server-side transformation of the XML page.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in Internet Explorer 6.

Keywords: kbhotfixserver kbbug kbfix kbie600presp2fix kbqfe KB323069

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.