Refactor using Sax Parser instead of Dom Parser for speed up.