commit with DOM Parser