Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I view XML files with simple syntax highlighting?

Tags:

xml

eclipse

I'm trying to view an XML file in Eclipse, but I'm not enjoying their tree structure view for the XML data. I was hoping there'd be a simple highlighted text view for it but I couldn't find it.

Closest I got was the plain text view which was nearly it.

Is there such a view? If so, where is it?

like image 799
Kurru Avatar asked Jan 04 '11 02:01

Kurru


People also ask

How do I view an XML file in Windows?

#1) Open Windows Explorer and browse to the location where the XML file is located. We have browsed to the location of our XML file MySampleXML as seen below. #2) Now right-click over the file and select Open With to choose Notepad or Microsoft Office Word from the list of options available to open the XML file.

How do I open an XML file in XML viewer?

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. Note: Instructions for your operating system may differ slightly.

How do I view an XML tree?

You can view XML files in different ways including using a text editor, like Notepad or TextEdit, a web browser like Safari, Chrome, or Firefox, or an XML viewer. Open your text editor or XML viewer, then open your XML to view it. Drag and drop the XML file to your web browser to view it.


1 Answers

Look at the bottom of the editor. There should be a source tab that will give you the view you are looking for.

enter image description here

enter image description here

like image 66
Konstantin Komissarchik Avatar answered Sep 21 '22 05:09

Konstantin Komissarchik