To open an XML file in the XML editor, right-click it in the Navigator view and select Open With > XML Editor.
help.eclipse.org