Is It an XML or a XML?

It’s an XML. Since the letter X begins with a vowel sound, we use the article "an".