Revert literal access methods - needs to be rethought. Perhaps a simple XPath parser would be better.