Switch Input to Arduino Serial to Arduino Serial Output Led High or Low.

How do I make this program send Serial data, using one xbee's, (tx and rx). To this other program, Led on or off.

There is no reason that code should not work. If it doesn't, you have not connected the XBees to the Arduinos correctly, or you have not configured the XBees correctly. Or, you haven't wired the switch correctly.