Sometimes you just feel that you need to view an XML file quickly and Notepad seems weird for that. Well they are not any specific reason to not use such tools. But for instance if you can open XML file directly into Google Chrome Browser which is a Universal and widely accepted that would be less pain.
There are some dedicated tools for opening and editing XML files like notepad++ but wait, if you have Google Chrome installed you can use that for the purpose of opening XML files. If you don’t have google chrome you can download chrome offline. After that use this small trick for opening XML files in Google Chrome. (well, You can crash chrome browser easily to annoy your friends.)
Google chrome is very useful because apart from browsing it supports viewing PDF and some other files as well. And for XML file, it works because the Tool ‘Inspect Element‘ and similarly ‘View Source‘ option shows original HTML of any web page because we want to pen XML that is actually a source so using this trick you can view original XML file.
Step 1. Locate your XML file in ‘My PC’ and drag that file to Google Chrome.
Step 2 (1). Right Click on blank window and-and click on ‘View Source’
Step 2 (2). Put ” view-source: “in the address bar.
Install the extension from the above link and enable it. Now open an XML file by dragging it to chrome or opening a web XML file link. Below is the screenshot of the extension.
Google Chrome does offer a better internet experience as well as tons of hidden tricks to play with it. you can backup chrome setup if you having chrome installed. or check Chromium OS version for PC which you can install as a daily purpose use operating system.