If it is intended to 'contradict the'- witness by the writing, the attention of the witness should be called before the writing can be proved to those parts of it which are to be used for the purpose of contradicting him