buildXmlHeader function

Build XML Header