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

spytm_Standard_header_footer.docx36.8 KB

A baseline document where every page shares the identical header and footer. Tests basic relationship extraction.

Different first page

spytm_Different_first_page.docx36.8 KB

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.

Related Test Files

S
SPYTM

Experience the pinnacle of digital communication. The ultimate ultra-premium platform designed for those who demand excellence.

© 2026 SPYTM. All rights reserved.