Created a minimal interface to parse the xml for named entities