Just about every browser can open an XML file. In Chrome, just open a new tab and drag the XML file over. Alternatively, right click on the XML file and hover over "Open with" then click "Chrome". When you do, the file will open in a new tab.
XML files can be opened in a browser like IE or Chrome, with any text editor like Notepad or MS-Word. Even Excel can be used to open XML files. We also have Online editors to open XML files.
Click default on *.xml and Text editor
Close all files and then try to open an XML file again.
My problem was that I opened the pom.xml with the maven editor - I wanted it to be opened with the maven editor but to open in the "source" view - achieved it by:
Typing xml in the search box did not include this page in the results.
For people who are looking for a simple text based XML editor, the default XML editor in Eclipse comes with a text based view with syntax highlighting (as it should). It's just not intuitive to know this view exists.
By default the view is "Design". "Source" is the simple text based view with syntax highlighting.
For a much better illustration, see:
How do I view xml in Eclipse with simple syntax highlighting?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With