xml header + formatting / encoding