main: add parse xml to head file for list