Im a programmer and I was writing a comment today that read:
Finds a XPath relative to the Node
From what I understand you should always use 'a' over 'an' when it proceeds a word starting with a vowel. such as
I ate an apple
I ate a orange
It sounds weird to me the way "Finds a XPath" reads. It feels more comfortable reading "Finds an XPath". I know English is full of weird rules and I am wondering if this is one of them. What is the correct usage here?
In case it is relevant heres a link to what XPath is.