make the footer the context for apply-templates