This is how its showing which is not correct xml format.
I searched for a solution but can't find one on how to solve this. I am selecting the option of convert to TestNG.xml, the runner folder that I am selecting to add the file is not showing in xml format but something like in the image.
I am using maven for dependency management and have already installed the TestNG plugin in eclipse and in POM.xml as well.