First cut of XPath processing - still WIP