Added \usepackage{longtable} as it is needed
Fixed xml headers