DOCX Headers and Footers
Headers and footers in the DOCX format are not stored in the main document.xml file. They are stored as entirely separate XML files (e.g., header1.xml, footer1.xml) and linked into the document via relationship mapping inside the section properties.
These sample files are designed to test if your extraction pipelines are correctly mapping these external XML references and injecting the header text into the output stream during conversion.
Standard header footer
A baseline document where every page shares the identical header and footer. Tests basic relationship extraction.
Different first page
A document specifically formatted with a unique cover-page header and footer, followed by standard headers on subsequent pages. Tests conditional rendering logic.
Frequently Asked Questions
Use Cases
- Testing full-text extraction tools to ensure they don't miss critical data (like contract IDs) stored in the footer.
- Validating "Different First Page" rendering logic in DOCX viewers.
- Ensuring redaction tools correctly scan and redact sensitive information hidden inside header relationships.