Set params to support olinks.
Convert olinks to xrefs if targetdoc = /*/@xml:id