Moved Parser into DOMUtils and new node -> xpath function for debugging