Yes , starting at post #2019.
http://www.xs650.com/threads/mailman’s-xs2-a-full-on-restoration.51520/page-101
It is a little different but can usually be mounted in the same location.
One additional note that I didn’t mention in my thread, the original relay mounting bracket is designed in a way that locks it into place, so it won’t rotate with the one mounting screw that the factory used. The new relay is different, I still used just one screw in the factory location, but to help it stay in place, I put a rubber washer behind it, so that it kinda gets pulled into the washer and grips it when you tighten the screw.