Converted SAXParser to DOMParser