搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How can I open a link to an xml document with a specific helper application?

  • 3 回覆
  • 8 有這個問題
  • 3 次檢視
  • 最近回覆由 paulhill914

more options

I have an html file with links to multiple xml files. When I click on one of these links, I would like Firefox to use an application of my choosing (e.g., Xmetal) to open the xml file. It works great with sgml files, because I was able to associate the "sgml" content with my external application. I can't seem to make the same thing happen for xml files, though.

I have an html file with links to multiple xml files. When I click on one of these links, I would like Firefox to use an application of my choosing (e.g., Xmetal) to open the xml file. It works great with sgml files, because I was able to associate the "sgml" content with my external application. I can't seem to make the same thing happen for xml files, though.

所有回覆 (3)

more options

Hi ibfrozen,

You should take a look at the Applications panel - Set how Firefox handles different types of files Knowledge Base article. It will show you how to associate a program with a particular file type.

Hopefully this helps!

more options

If the XML files have a .xml file extension or send by a server as a recognized file extension like application/xhtml+xml then Firefox will open them automatically in a browser tab and you can't change that action.

more options

Many people on this thread have a common problem, how to download documents that have a .XML extension and then be able to view/edit them in Word. The issue is that Firefox does not treat a file it receives with a .XML extension as a download candidate, it just displays the XML in a tree structure in a popup window or a new tab. If there was an option to automatically (by configuration) open a .XML file in Word or even if it was a manual select option, that would solve the problem. Today you have to go through the process of saving the page, then when the popup down window indicates is completed, you use the right mouse to select open, when then takes you to Word (assuming Word is configured in your OS to process .XML files. This process is difficult to teach to non technical people because it error prone. Any help would be greatly appreciated.