Cannot Open XML Files in Internet Explorer
Problem
Before installing Oxygen XML Developer I had no problems opening XML files in Internet Explorer. Now when I try to open an XML file in Internet Explorer it opens the file in Oxygen XML Developer. How can I load XML files in Internet Explorer again?
Solution
XML files are opened in Oxygen XML Developer because Internet Explorer uses the Windows system file associations for opening files and you associated XML files with Oxygen XML Developer in the installer panel called File Associations. Therefore, Internet Explorer opens XML files with the associated Windows application.
By default, the association with XML files is disabled in the Oxygen XML Developer installer panel called File Associations. When you enabled it, the installer displayed a warning message about the effect that you experience right now.
- Right-click the XML file in Windows Explorer and select .
- Expand the section with the down-arrow and select IE in the list of applications.
- Select the Always use the selected program option.
If XML files are still not opened in Internet Explorer, create a file named revert.vbs with the following content:
function revert()
Set objShell = CreateObject("WScript.Shell")
objShell.RegWrite "HKCR\.xml\", "xmlfile", "REG_SZ"
objShell.RegWrite "HKCR\.xml\Content Type", "text/xml", "REG_SZ"
end function
revert()
Then run the following command from a command line:
wscript revert.vbs