I'm currently using XDocument to read specific attributes
from a XML Document, This works without a hitch. Now, I'm trying to create an
array with Keys and Values to be later used for Validation. This may be an
isolated incident (due to being unable to google/research the errors) , but the
error messages which I am experiencing has totally stumped me, the syntax does
look correct. The code follows: