The Android operating system includes a native text editor that you can use to view and read XML files. So if you need to view an XML file on your Android phone or tablet, you can do so without downloading any third-party apps. The native text editor works no matter where the file is on your device.
Navigate to the XML file on your phone. You might find it in your files, someone might have emailed it to you or it might be on the Internet.
Tap on the file. It will open in Android's text editor.
Scroll up and down to read the file.