Yes, it is possible to trade between LeafGreen and Pokemon XD. You must have defeated Greevil in Pokemon XD to trade. You can only trade purified Pokemon. You cannot trade Shadow Pokemon, because the GBA games don't have the data for shadow moves.
JCM <3 Kyron's hot great-cousin three times removed from Russia