add XML creation to survey

add XML creation method
set number of lines method for survey’s answers