Microsoft KB Archive/277830

= File Is Not Uploaded with the  Tag =

Article ID: 277830

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft Internet Explorer 5.5

-



This article was previously published under Q277830



SYMPTOMS
When you use Internet Explorer 5.5 and you try to upload a file by using the  tag in a Post form in an Extensible Stylesheet Language (XSL) style sheet, the file is not uploaded.



RESOLUTION
There are two possible workarounds for this problem. The first workaround is to perform the Extensible Markup Language (XML) or XSL transformation on the server and return only static Hypertext Transfer Protocol (HTML).

Alternatively, you can perform the transformation on the client and populate a  element on the page. View the following HTML sample code for an example about how to do this:  function create {

var xml = new ActiveXObject(&quot;MICROSOFT.XMLDOM&quot;); var xsl = new ActiveXObject(&quot;MICROSOFT.XMLDOM&quot;); xsl.async = false; xml.async = false; xml.load('your_xml_file.xml'); xsl.load('your_xsl_file.xsl');

str_res = xml.transformNode(xsl);

mydiv.innerHTML = str_res;

}

You must modify the XML/XSL transform to return only the  element when you move the transform to the client.

XML file:    XSL file:  



  <INPUT type=&quot;submit&quot; /> </FORM> </xsl:template> </xsl:stylesheet>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbcode kbenv kbpending kbprb KB277830

-

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

© Microsoft Corporation. All rights reserved.