Yeah.. What he said..
i think Xehanort meet Kairi in Radiant Garden b4 and know where is the keyblade master
I'm not entirely with that one. Remember that Kairi had no memor of where she grew up. It could be possible that Xehanort just wiped out her memories, then sent her to the Islands, but I could be wrong about one.