Friday, 28 June 2013

data template in xml publisher

The Data Template Definition:

The data template is an XML document that consists of four basic sections:
1. Define Parameters
2. Define triggers
3. Define Data Query
4. Define Data Structure
This structure is shown in the following graphic:
To build XML report the following steps are involved.
Step 1: Designthe Data Template XML File.
Step 2:Create the Data Definition in XML Publisher and associate it with Data Template
Step 3:Define a Concurrent Program to generate the Data XML File.
Step 4: Define the RTF Template using the Generated Data XML.
Step 5: Registering the Template with XML Publisher
Step 6: Execute the concurrent program to generate the PDF report.

Step 2: Create the Data Definition in XML Publisher and associate it with Data Template.


Step 3: Define a Concurrent Program to generate the Data XML File.


The short name in the above concurrent program is the code what you give while defining data definition.


Then run the above created concurrent program and get the xml output.



Save the output.

Step 4: Define the RTF Template using the Generated Data XML.
Go to word document and design your rtf Template.
Step 5: Registering the Template with XML Publisher.


Step 6: Execute the concurrent program to generate the PDF report.




Ur's
AmarAlam

2 comments:

Ajay Raj said...
This comment has been removed by the author.
Ajay Raj said...

Nice article...

Red Hat Training in Chennai
Rhce Training in Chennai

Post a Comment