add header and footer for LHE xml