Fixed issue in document removal code
Implemented NLMXML conversion