Tuesday, September 6, 2016

Data Template Method

Data engine supports the following functionality:
·         Single and multiple data queries
·         Query links
·         Parameters
·         Aggregate functions (SUM, AVG, MIN, MAX, COUNT)
·         Event triggers
·         Multiple data groups
XML output generated by the data engine supports the following:
·         Unicode for XML Output
Unicode is a global character set that allows multilingual text to be displayed in a single application. This enables you to develop a single multilingual application and deploy it worldwide.
·         Canonical format
The data engine generates date elements using the canonical ISO date format: YYYY-MM-DDTHH24:MI:SS.FF3TZH:TZM for a mapped date element, and ######.## for number elements in the data template XML output.

Data Template Definition:

The data template is an XML document that consists of 4 basic sections:
- Define parameters,
- Define triggers,
- Define data query,
- Define data structure.

This structure is shown as follows:



As shown in the sample figure, the data template consists of 
     a <parameters> section in which parameters are declared in child <parameter> elements; 
     a <dataQuery> section in which the SQL queries are defined in child <sqlStatement> elements; 
     a <dataStructure> section in which the output XML structure is defined.


Create Data Definition & Associate with Data Template
XML Publisher Administrator -> Data Definitions -> Create Data Definition




No comments:

Post a Comment