retrofitted templateParser, needs more work
xml parser, bugs/tests
xml parser, bugs/tests