0

The model was exported as a/an XML file.

an XML file sounds better to me – is it exception like an hour?

David
  • 123

2 Answers2

1

The model was exported as an XML file.

As "x" is pronounced as 'eks" , with an initial vowel, "an" is proper. [grammar) 1

However, English has no "Academy" to decide the issue, so, using "a" before an "X" cannot be said to be wrong.

J. Taylor
  • 5,135
1

Use AN before any non-consonant sound. That includes H in HERB (unless you don't pronounce it "erb") but not HISTORY. XML is pronounced "Ex Em El," so that takes AN, not A.

Some might say the rule is AN only before vowels, but most style guides refer to the vowel-like sound of the word following the article, not the actual spelling. There are a lot of very complex linguistic concepts about word and sound pronunciation, so there are precise ways to explain this, but it's basically about having a hard consonant vs. vowel sound.

user8356
  • 2,982