Update to 9.5
Be careful when copying attributes in XInclude; if it came from the xi:include element, don't copy it from the target element too