搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Search in XML.

  • 5 个回答
  • 9 人有此问题
  • 17 次查看
  • 最后回复者为 bajhn

more options

The text search in an XML file does not work correctly. When pressing Ctrl-F and searching for some text which is present in the XML file, Firefox will report it has not found anything.

The text search in an XML file does not work correctly. When pressing Ctrl-F and searching for some text which is present in the XML file, Firefox will report it has not found anything.

被采纳的解决方案

You can do a search in the page source if searching the XML tree view isn't working.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)
  • Right-click on a web page to open the right-click context menu and select Page Source
定位到答案原位置 👍 1

所有回复 (5)

more options

In the Find Bar, un-check "Match case" if it is checked


If this reply solves your problem, please click "Solved It" next to this reply when signed-in to the forum.



Not related to your question, but...

You may need to update some plug-ins. Check your plug-ins and update as necessary:

more options

Thanks SafeBrowser, I have tried it again and it is not working even "Match Case" is unchecked. Take http://edition.cnn.com/sitemap_news.xml for example, 1> Press Ctrl-F. 2> Input cnn and hit enter to search. 3> The next button in the search bar works well, but if you click the "Previous" or "Highlight all" button, it just doesn't work.

more options

Just found an old bug related to the issue --> https://bugzilla.mozilla.org/show_bug.cgi?id=517866

There are other related bug reports, but one of the suggestions in the above worked for me.

  • Select (highlight) a few letters in the xml doc, then deselect (click in a blank space), then find what you want. However, "Highlight all" will not work.

Older bug report, with more recent comments and other duplicate reports listed --> https://bugzilla.mozilla.org/show_bug.cgi?id=263049#c32

Sorry, but there does not seem to be a fix. I suppose fixing the issue is a low priority item with the developers.


If this reply solves your problem, please click "Solved It" next to this reply when signed-in to the forum.

由SafeBrowser于修改

more options

选择的解决方案

You can do a search in the page source if searching the XML tree view isn't working.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)
  • Right-click on a web page to open the right-click context menu and select Page Source
more options

I have this problem in Firefox 11.0 for Linux Mint 12. When I opened a local file foo.xml and searched for "clientip" with the Match case box unchecked, the ^F search didn't find tag <clientIP>. It did, however, find "clientIP".