renamed functions, added xml parser, and added newTag and newAttribute functions