Thursday, March 26, 2015

XML Publisher FAQs.

1.How does the concurrent request relate both data template and layout template it should be using for generating the output?

Ans: The concurrent program ‘short name’ will be mapped to the ‘code’ of the Data template. Layout template is attached to the data template, this forms the mapping between all the three.

2.What is Data Template and Layout Template?

Data Template:
Datatemplate is an xml structure which contains the queries to be run against the database so that desired output in xml format is generated, this generated xml output is then applied on to the layout template for the final output

Layout Template:

Layout template defines how the user views the output, basically it can be developed using Microsoft word document in rft (rich text format) or Adobe pdf format. The data output in xml format (from Data template) will be loaded in layout template at run time and the required final output file is generated.

3.How to get a output of a XMLP report in different formats like PDF, DOC, XLS, TXT ?

Ans:While submitting the concurrent program you select the output format in options form of “Up on Completions” selection.



4.Can you have multiple layout templates for a singe data template?

Ans: Yes! Multiple layouts can be attached, so that user will have a choice here to use one among them at the time of concurrent program submission.

5.Do we need to create multiple layout templates for printing report in multiple languages?

Ans:We can achieve multi language report by two ways.

       1.Different layout template for different languages This approach can be chosen if the layout is also different from language to language.

       2. Generate XLIFF template for each language
           XLIFF (XML Localization Interchange File Format) : format for exchanging localization data. XML based format that enables translators to concentrate on the text to be translated. We use this option when we want to use the same layout and apply specific translation.

6.How do you migrate layout or data template across instances?
Ans:We can use XDOLoader utility to migrate both data template and layout. Below is the 

No comments: