Dynamic Document Template Script Generation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional output documents from web servers cannot effectively combine static and dynamic data, as they are typically generated by a single script that lacks the capability to integrate both types of data.
Innovation Solution
A method and system that execute a dynamic document template to generate a script, which is then used to create or append to an output document, allowing for the combination of static and dynamic data by distinguishing between static data, dynamic data, and procedural statements within the template.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a single script is used to generate output documents, then the system is simple and easy to maintain, but it cannot effectively combine static and dynamic data
Solution Approach 1:
The patent segments the document generation system into three distinct components: a template file containing static data and placeholders, a script that processes the template, and dynamic data sources. This segmentation allows each component to specialize in one function while working together to produce documents that combine static and dynamic content effectively.
Solution Approach 2:
The patent introduces a template file as an intermediary component between static content and dynamic data. The template serves as a mediator that defines the structure, contains static data, and specifies where dynamic data should be inserted through placeholders, enabling the integration of both data types without direct coupling between static and dynamic components.
2Adaptability or versatility
If application code is modified to change dynamic document templates, then the template functionality can be updated, but it requires altering the underlying application code which increases complexity and risk
Solution Approach 1:
The patent extracts the template definition from the application code into a separate, standalone template file. This extraction allows templates to be modified independently without touching the application code, reducing complexity and risk. The template file becomes a separate artifact that can be edited, stored, and processed without affecting the core application logic.
3Adaptability or versatility
If static and dynamic data are combined in output documents, then document usability and flexibility improve, but the system requires a more complex multi-component architecture
Solution Approach 1:
The patent creates a universal document generation system where the template file serves multiple functions: defining document structure, containing static content, specifying dynamic data placeholders, and controlling the overall document layout. This multi-functionality reduces the need for separate components for each aspect, thereby managing system complexity while achieving flexible document generation.
Data Source
AI summary
A dynamic document template having static data, dynamic data, and/or procedural statements may be called by an application on a server. The dynamic document template is separate from the application program and is processed to form an interim script, which is then executed by a host computer system. The script generates document records in HTML or XML format that are output to a document. The data and procedural statements in the dynamic document template may be distinguished through interpreting mark-up language surrounding the data and procedural statements. The dynamic document templates execute in a separate namespace from the application and preserve the state of data in the application. A given application may call more than one dynamic document template to generate different portions of the output document. Additionally, the dynamic document templates may be replaced with new templates without affecting the application.


