Resolve entity encoding issue for XSLT against extRif on entities such as &rsquo;