Here is another XOR circuit that I wired and tested last night. Thanks to Yann Guidon for this idea as it does further reduce the parts count. The Input resistors are optional depending on the logic level voltage. For a XNOR, just reverse the +5 and ground. This XOR, once again, has good solid logic levels on the output.