Refactored XSLT so ld:resolve() is only called from within Common.xslt