Added configurable XML parser. Closes #18.