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