> I don’t know where I got the idea that headers and footers had to begin with a tag.

PD4ML supports two ways to define headers/footers, and it can be confusing.

Other approach allows you to define headers/footers inline with tag. In this case a header or footer respects the main document stylesheets.