Form-Based Reporting
The DOM API supports a form-based approach to report generation. You can create a template that defines the fixed content of the form, interspersed with holes (blanks). Your DOM report program fills these holes with generated content.