But he spoke of the temple of his body.

 Let us look at it first of all from the Jewish point of view. We must always remember that beneath John's simple stories there is a deeper meaning which is open only to those who have eyes to see. In all his gospel John never wrote an unnecessary or an insignificant detail. Everything means something and everything points beyond. 