Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Search in XML.

  • 5 trả lời
  • 9 gặp vấn đề này
  • 630 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Giải pháp được chọn

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
Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (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.

Được chỉnh sửa bởi SafeBrowser vào

more options

Giải pháp được chọn

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".