Take a look on layout.ini there you can set your custom header like text/xml. Then you need to define new template (your_design\templates\customtpl.tpl) and acccess layout module like http://www.example.com/layout/set/<your_layout_name>/content/view/full/2