XD-221: Rewrote all link:document#anchor[Label] to xrefs