Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

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

Tìm hiểu thêm

How view xml as tree? Like JSON

  • 3 trả lời
  • 7 gặp vấn đề này
  • 5 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

Hello! Is it possible show data from xml like as json data? This endpoint https://www.mtbank.by/currxml.php?ver=2 shows data like one string.

And this endpoint http://www.nbrb.by/API/ExRates/Rates/Dynamics/298?startDate=Fri%2C+30+Jun+2017+21%3A00%3A00+GMT&endDate=Mon%2C+03+Jul+2017+21%3A00%3A00+GMT shows data as structure tree.

How patch mozilla for viewing structure xml tree?

Hello! Is it possible show data from xml like as json data? This endpoint https://www.mtbank.by/currxml.php?ver=2 shows data like one string. And this endpoint http://www.nbrb.by/API/ExRates/Rates/Dynamics/298?startDate=Fri%2C+30+Jun+2017+21%3A00%3A00+GMT&endDate=Mon%2C+03+Jul+2017+21%3A00%3A00+GMT shows data as structure tree. How patch mozilla for viewing structure xml tree?

Tất cả các câu trả lời (3)

more options

I see the XML tree and not the print version if I open that link in a tab (54, 55).

Do you possibly have this pref on the about:config page?

  • layout.xml.prettyprint

The second link sends JSON data and is shown by Firefox like it is send.

Note that Firefox comes with a built-in JSON viewer.

more options

For me, it is treated as HTML, in other words, I see just the text nodes within the tags, not the tags themselves. If you're getting the same thing, you may want to use Internet Explorer 11 for viewing XML layout for the time being until you find a suitable add-on.

more options

You can use "View Page Source" in the right-click context menu if you want to see the page as raw HTML code. I don't know of a way to translate HTML code to some JSON format.

There is also the jsb (JavaScript Beautifier) command in the Web Developer toolbox.