Document Parser, remove xmldom dependency.