Continuing work on parsing DOM