grab header immediately after first SGML transform