P. 1


|Views: 41|Likes:
Published by Rajeswara Reddy
xml discrition
xml discrition

More info:

Published by: Rajeswara Reddy on Feb 10, 2013
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less





XML/BI Publisher – A Comprehensive Guide for Troubleshooting

Kiran Kumar Gupta Killamsetty Gomathi Madheswaran

Author: Kiran Kumar Gupta Killamsetty Gomathi Madheswaran

Target readers

XML Report Developers/ Leads

Table of Contents
1. 2.




6. 7. 8. 9.

Installations XML Publisher Desktop Version 3 XML Publisher Report using Concurrent Program 4 Different activity to develop Report base XML Publisher. 4 a. Creating sample table 4 b. Create a report and register it as Concurrent Program of type XML c. Creating Sample Word Template for XML Report. 7 XML Publisher Report using a SQL. 11 a. Introduction 11 b. The Data Template Definition 11 c. Construction of Data Template 12 d. Steps to Build XML Report using Data Template using SQL 14 Template formatting tips. 18 a. Inserting a field 18 b. If Statement 19 c. Setting Display property of a table at run time using if statement d. Case statement 19 e. Importing a sub template 20 f. Inserting subtemplate in template rtf 20 g. Include repeating frame/table. 20 Bursting in XML Publisher 21 Advantages of XMLP Bursting 21 Prerequisites 21 Setups to create XML Publisher report using Bursting functionality Steps to create Bursting Report: 25 Migration of XML Publisher reports between instances. 27 a. Different Components consider for migration. 27 b. Oracle Apps utilities for migration of XML Publisher components. Known Issues: 31 Enhancements 33 Reference Documents 37






Installations XML Publisher Desktop Version

This chapter explains installation of XML Publisher desktop version. Pre-Requisite : .Net Frame Work 2 Software : Oracle Patch Number 4561835 http://updates.oracle.com/download/4561835.html

After installation MS Word will get additional add-in as shown in the

Verify the Patch installation: Application Object Library (FND) patch 3435480 fully Integrates XML Publisher with the Concurrent Manager


XML Publisher Report using Concurrent Program

This chapter explains step by step processes to build XML Publisher report using source as Oracle Concurrent Program.

Different activity to develop Report base XML Publisher.
a. b. b. c. Creating sample table to do this exercise Create a report and register it as Concurrent Program of type XML Build a Data Definition & XML Template using XML Publisher. Create a relation between XML Template & Concurrent Program.

a. Creating sample table
Table Script: CREATE TABLE EMP ( EMPNO NUMBER, ENAME VARCHAR2(100 BYTE), MGR VARCHAR2(100 BYTE), HIREDATE DATE, SAL NUMBER, COMM NUMBER ); Primary Key: ALTER TABLE EMP ADD ( CONSTRAINT EMP_PK PRIMARY KEY (EMPNO) ); Sample Data: Insert into EMP (EMPNO, ENAME, MGR, HIREDATE, SAL, COMM) Values (1, 'Kiran', 'Ravi', TO_DATE('05/11/2005 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 1); Insert into EMP (EMPNO, ENAME, HIREDATE, SAL, COMM) Values (2, 'Ravi', TO_DATE('05/11/2000 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10009, 10); Insert into EMP (EMPNO, ENAME, MGR, HIREDATE, SAL, COMM) Values (3, 'Vineela', 'Kiran', TO_DATE('05/11/2006 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, 0); COMMIT;


Create a report and register it as Concurrent Program of type XML


Creating Oracle Report

SQL: Select * from Emp;

Data Model: Default Layout:

Add following user Defined Parameters:

Note : These parameters are mandatory to run report.

Sample File :


Migrate newly created custom rdf file to Oracle Application server at appropriate location.


Register report as concurrent program.


Executable using Application Developer Responsibility :

b. Concurrent Program using Application Developer Responsibility : .

Note : Select Output as XML .

Creating Sample Word Template for XML Report. Sample File : c. Save the output as XMLREP1. Insert table using Insert  Table option . Attach to request group to a Responsibility.xml on your computer. Open MS Word and click the Add-Ins menu you will get Custom Toolbars (refer installation section for more details). 6. 5.c. Associate with a request Group d. and then save it as XX XMLREP1. 4.xml on your PC. Run the report and you will see an xml output appearing. Load Data from Data menu to load the report output (xml file). You will need to use menu /Tool/Copy to open this XML output in browser.

I have added two different tables as shown below.7. By doing this you have created XML Publisher template. Sample File: .

Create Data Template for XML report as mentioned below (XML Publisher Admin  Data Template  Create) Note: Code Name should be Report Concurrent program short Name. Create template as given below .8. 9.

.Navigate back to “UL Custom Responsibility” and submit the concurrent program “XXUL XML Publisher Report 1” and see the output. 10.

a. In the previous section we have learned how to build XML Publisher report from Oracle Report.Note: Layout value should default with template name. This section we would be learning how to build XML Report without using Oracle Report. Introduction The XML Publisher data engine enables you to rapidly generate any kind of XML data Structure against the Oracle database in a scalable. The data template is the method by which you communicate your request for data to the data engine. This we can ensure link between Concurrent Program and Template established correctly. It is an XML document whose elements collectively define how the data engine will process the template to generate the XML. efficient manner. The data engine supports the following functionality: • Schema generation • Default RTF template generation . For any XML Publisher report requires a template layout (RTF template) and Data XML (Data Definition) to generate any report. XML Publisher Report using a SQL. 3.

Specify the parameter data type as "character". define data query.0"> dataTrigger Syntax <dataTrigger name=afterReport/beforeReprot source=<Package Name>. Construction of Data Template Comments Attributes: • name (Required) • description • version (Required) • defaultPackage .specify the parent query name. For the "date" dataType. or data triggers defined in the template. The Data Template Definition The data template is an XML document that consists of four basic sections: define parameters. • childColumn . • condition . • childQuery . • dataSourceRef . Attributes: • parentQuery . MIN.FF3TZH:TZM defaultValue This value will be used for the parameter if no other value is supplied from the data at runtime.specify the child column name. group filters. • parentColumn . Always place “afterReport” trigger after dataStructure tag and Place “beforeReport” trigger before dataStructure tag. Default value is "character".• Flexfields • Single and multiple data queries •Query links • Parameters • Multiple data groups • Aggregate functions (SUM. COUNT) • Event triggers • Distributed queries across multiple databases b. "date". AVG.specify the child query name. define data structure. or "number". the following three formats (based on the canonical ISO date format) are supported: • YYYY-MM-DD (example: 1997-10-24) • YYYY-MM-DD HH24:MI:SS (example: 199710-24 12:00:00) • YYYY-MM-DDTHH24:MI:SS. This structure is shown in the following graphic: Sample Files: Data Template Definition Data Template c.the PL/SQL package name to resolve any lexical references. MAX. Consists of one or more <parameter> elements dataType Optional.<Procedure Name> /> Parameters <parameters> <parameter name="p_DeptNo" dataType="character" /> </parameters> ne a Data Link Between QueriesHow to De Example : <link name="DEPTEMP_LINK" parentQuery="Q1" parentColumn="DEPTNO" childQuery="Q_2"childColumn="DEPARTMENTNO"/> . define triggers. Required only when performing a distributed query across multiple data sources.specify the parent column name.the SQL operator that defines Tags dataTemplate <dataTemplate name="EmpData" description="Employee Details" Version="1.the default data source reference for the entire data template.

Short Name should be equal to Data Template code name. . this code should be used as concurrent program short name.Lexical References the relationship between the parent column and the child Create a lexical reference using the following syntax: &parametername Note : define a parameter (package variable) in the PL/SQL default package for each lexical reference in the query. d. Add Data Template file which we have created in the previous session. Step 2: Create Concurrent program as shown below. Steps to Build XML Report using Data Template using SQL Step 1: Create the Data Definition in XML Publisher and associate it with Data Template Create Data Template as shown below and note down the code name (EMP_DD1).

Step 3: Create RTF template Sample file. .Note: XDOTEXE is a standard Oracle Java Program.

RTF File XML Data File Step 4: Create Template and associate Data Definition. .

.Step 5: Navigate back to “UL Custom Responsibility” and submit the concurrent program “XXUL EMP DEP XML SQL Report”.

Sample Output : .

<EMPDATA> <p_DeptNo>10</p_DeptNo> . Sample XML Data file <?xml version="1. This session will discuss about various available in XML Publisher to manipulate the RTF template.<LIST_G_EMP> .<LIST_G_DEPT> .00005:00</HIREDATE> <SALARY>2450</SALARY> </G_EMP> </LIST_G_EMP> .<G_EMP> <EMPLOYEE_NUMBER>7782</EMPLOYEE_NUMBER> <NAME>CLARK</NAME> <JOB>MANAGER</JOB> <MANAGER>7839</MANAGER> <HIREDATE>19810609T00:00:00.<G_DEPT> <DEPT_NUMBER>10</DEPT_NUMBER> <DEPT_NAME>ACCOUNTING</DEPT_NAME> <LOCATION>NEW YORK</LOCATION> .4. Template formatting tips.0" ?> .

I confirm I have authority to accept or reject this agreement. NAME Inserting a field Syntax : <?<Name of the field>?> b.<DEPTSAL>7450</DEPTSAL> </G_DEPT> </LIST_G_DEPT> </EMPDATA> a. If Statement <?end-if?> <?if: <field Name>=”Value”?> Text c. I accept this agreement on behalf of the company and agree that the company will be bound by it. By: d. Case statement <?choose:?> <?when:expression?> <? end when ?> <?otherwise?> <?end otherwise?> <?end choose:?> . Setting Display property of a table at run time using if statement Following table will display only if <field name> contains “Y” value <?if: <Field Name>=”Y”?> I am an employee of the company. I confirm I am not an independent. non-employee representative of the company. I have been provided the content of this agreement and have reviewed it.

F (Syntax: <?for-each:LIST_G_EMP?>) Number Name Job Manager Hiredate Salary F (syntax <?for-each:G_EMP?>) Enum NAME JOB MANAGER HIREDATE SALARY E (Syntax: <?end for-each?>) E (Syntax: <?end for-each?>) 5.00/?> f.6.e. just need to create XML bursting File. Bursting in XML Publisher Very common requirement in reporting is to split/print report in different pages depending transaction number.class Publisher .00/?> <?import:xdo://ONT.3 adident Header $OA_JAVA/oracle/apps/xdo/common/MetaInfo.<Template Name>. The engine provides flexibility to choose delivery channel. XML Publisher’s bursting engine accepts data stream and splits it based on multiple criteria.en.6. Advantages of XMLP Bursting  No Additional Coding. Include repeating frame/table. Example: Employee Pay slips and delivered via email. Prerequisites  Apply patch 5968876 if not already applied  Verify XMLP version is 5.XXULMYAGREEMENT.<language>. Inserting subtemplate in template rtf <?call-template:<subtemplate name>?> <?call@inlines:<Subtemplate name>?> <?end call?> g. otherwise we would have to write java program to split the XML File and then use XMLP delivery manager API to send emails .class XML Patch Reference Metainfo. Importing a sub template Imported MyAgreement <?import:xdo://<Application >.3 Steps to Verify if XMLP is indeed 5.  Process of Creating XML data Definition and Template remains AS – IS . ( Isn't it exciting .

120.> Generals > Temporary Directory.6 ..26 115.6.0 Patch 4440000 Patch 5472959 Note 422508.> Administration.1 XDO Patch 4206181 Note 316447.6.3 XDO 5.0.19 XDO 5.0.1 If patch is applied in your instance you can see Burst Control file option in Data Definition. ..21 115.6. Setups to create XML Publisher report using Bursting functionality 1. Setup temporary directory in XML Publisher Administrator.1 Patch 4905678 Note 357308.1 XDO 5.1 (core) Patch 4236958 XDO 5. for the Oracle E-Business Suite 11i 115.3 XDO 5.1 XDO 5. Navigation: XML Publisher Administrator.6.24 115.22 115.1 XDO 5.1 Patch 4561451 Note 337999.2 (core) Patch 5097966 Note 367394.0 Patch 3822219 Note 295036.27 115.28 115.

> <xapi:delivery> <xapi:email id=”<ID Name>”server=" usnbkm201.com" port="25" from="xmlpadmin1@us. Example <xapi:document output-type="pdf" delivery="123"> 6.> <xapi:message id="123" to="${EMAIL}" cc="${EMAIL_ALL}" attachment="true" subject="Employee Details for ${ENAME}"> Mr. It also sets the e-mail address of the employee and a cc copy to a parameter value EMAIL_ALL.smith@company.rtf" filter=". 4.com" reply-to ="reply@ us. This assigns an ID to the delivery method to be referenced later in the XML file.//EMPLOYEE[ENAME=’SMITH’]" > <! . Example <xapi:message id="123" to=jo. ${ENAME}. You can specify multiple delivery channels separated by a comma.This assigns a delivery id of ’123’. this might be a manager’s e-mail. Use the attribute select under the request element to specify the element in the XML data that you wish to burst on Example <xapi:request select="/EMPLOYEES/EMPLOYEE"> Use the attribute id under the lowest level of the delivery structure (for example. Creation of Bursting File.ul.e. Example <xapi:template type="rtf" location="/usr/tmp/empGeneric. . .Employees with the name SMITH will have the empDet template applied . This assigns the delivery method for the generated document as defined in the id attribute for the delivery element. for the delivery element email.com/oxp/xapi"> <xapi:request select="/EMPLOYEES/EMPLOYEE"> <! .Mention SMPT Server Name and port number. Use this to apply a layout template based on a filter on your XML data.com Use the delivery attribute under the document element.rtf"> <xapi:template type="rtf" location="/usr/tmp/empDet. The employee’s name (ENAME) can also be used in the subject/body of the email. Please review the attached document</xapi:message> <! .2.> </xapi:template> </xapi:document> </xapi:request> </xapi:requestset> 3.com "> <!.0" encoding="UTF-8"?> <xapi:requestset xmlns:xapi="http://xmlns.> </xapi:email> <xapi:fax server="ipp://mycupsserver:631/printers/fax2"> <xapi:number id="FAX1">916505069560</xapi:number> </xapi:fax> <xapi:print id="printer1" printer="ipp://mycupsserver:631/printers/printer1" copies="2" /> </xapi:delivery> <xapi:document output-type="pdf" delivery="123"> <xapi:template type="rtf" location="/usr/tmp/empGeneric.ul.This sets the burstingelement i. the id attribute belongs to the message element. EMPLOYEE (group name). XML File Structure: Sample File: <?xml version="1..rtf"> .us.oracle. 5. Use the filter attribute on the template element.ul.

<xapi:template type="rtf" location="usr\tmp\empDet.'Y' ). Run the report in preview mode in reports designer 4. You can also set the value of an attribute by passing a parameter to API in a Properties object. Import xx_manager_output. 9. with help of XML xx_manager_output.//EMPLOYEE[ENAME=’SMITH’]"/> This will apply the empDet template only to those employees with the name "SMITH".xml . Add user parameters to this report and FTP to $<Custom Location>/reports/US 5.NULL . Download & install XML Publisher desktop software latest version[as yet] 9. Steps to create Bursting Report: 1. Save the default layout as rtf file MANAGER_XML_TEMPLATE. Create a report name <Report Name> 3. Add this report to Request group 7. Prepare a simple bursting file. All other employees will have the empGeneric template applied.rtf 11.xml 8. Run this report and save the xml file as xx_manager_output. BEGIN n_request_id := fnd_request. Run the below procedure in APPS Schema CREATE OR REPLACE PROCEDURE xx_submit_bursting(p_request_id IN INTEGER) AS n_request_id NUMBER.submit_request('XDO' . Dynamic Delivery Content: Options same as above.rtf" filter=". Dynamic Delivery Destination You can reference elements in the data to derive certain delivery attributes. 8. END xx_submit_bursting.p_request_id . such as an e-mail address or fax number.NULL . 7. For example: <xapi:message id="123" to="${EMAIL}"/> At runtime the value of the to attribute will be set to the value of the EMAIL element from the input XML file. Enter the value for the attribute using the following form: ${ELEMENT} where ELEMENT is the element name from the XML data that holds the value for the attribute. This filter can use any XPATH expression to determine the rules for the template application. and create default layout 10.'XDOBURSTREP' . / 11. Create table which will provide data for Bursting Report 2.xml in MS Word. Preview the report output within MS Word using XMLP Preview option 12.FALSE . Register this report as concurrent program of type XML 6. Define data definition for the XMLP Report 13.

15. Ensure that srw. Call XDOBURSTREP from After report trigger. a. with debug parameter= Y (Refer Setup 9) 17.rdf againt to $<Custom Location>/reports/US 20. consultant needs to integrate the report with oracle applications using Concurrent Program or OA Framework Self Service Application. passing it current request_id 18. Upload the bursting control file to data definition Create XMLP Template XX_MANAGERS. Create pl/sql procedure xx_submit_bursting in apps schema. A XML Publisher report development is a multi step process requiring a technical consultant to develop multiple files and register with XML Publisher Administrator. In this article we will discuss in details the steps involved in the moving the XML Publisher / BI Publisher report components across instances. 6.user_exit('FND SRWINIT') has been called from before report trigger 19. Concurrent Program b. Different Components consider for migration. Migration of XML Publisher reports between instances. its very important to understand the steps involved in moving the components of a XML Publisher report across instances. 16. . Run the report.     Data Definition Data Template Data Definition File. and you will see the Bursted Output in mailbox. and upload MANAGER_XML_TEMPLATE. Oracle Apps utilities for migration of XML Publisher components. FTP the XX_MANAGERS. that submits fnd_request for XDOBURSTREP.rtf to this template. In addition to registering. XML Publisher provides FNDLOAD and XDOLoader to migrate XML Publisher components.Sample file 14. Due to these complexity.

XDOLoader UPLOAD \ -DB_USERNAME <db_username> \ -DB_PASSWORD <db_password> \ -JDBC_CONNECTION <jdbc_con_string> \ -LOB_TYPE <lob_type> \ -APPS_SHORT_NAME <application_short_name> \ -LOB_CODE <lob_code> \ -LANGUAGE <language> \ -TERRITORY <territory> \ -XDO_FILE_TYPE <xdo_file_type> \ -NLS_LANG <NLS_LANG> \ -FILE_CONTENT_TYPE <file_content_type> \ -FILE_NAME <file_name> \ -OWNER <owner> \ -CUSTOM_MODE [FORCE|NOFORCE] \ -LOG_FILE <log file> Uploading Physical Files Syntax : java oracle.oa.lct targetldtfile.XML_SAMPLE.XDOLoader UPLOAD \ -DB_USERNAME <db_username> \ -DB_PASSWORD <db_password> \ -JDBC_CONNECTION <jdbc_con_string> \ -LOB_TYPE <lob_type> \ -APPS_SHORT_NAME <application_short_name> \ -LOB_CODE <lob_code> \ -LANGUAGE <language> \ -TERRITORY <territory> \ -XDO_FILE_TYPE <xdo_file_type> \ -NLS_LANG <NLS_LANG> \ -FILE_CONTENT_TYPE <file_content_type> \ -FILE_NAME <file_name> \ -OWNER <owner> \ -CUSTOM_MODE [FORCE|NOFORCE] \ -LOG_FILE <log file> JDBC_CONNECTION : HOST:PORT:SID LOB_TYPE : TEMPLATE .util.oa.ldt  XDOLoader : This tool is used to download and upload physical files.apps.lct targetldtfile. FNDLOAD apps//<Password> @db 0 Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.XDOLoader DOWNLOAD \ -DB_USERNAME <db_username> \ -DB_PASSWORD <db_password> \ -JDBC_CONNECTION <jdbc_con_string> \ -LOB_TYPE <lob_type> \ -APPS_SHORT_NAME <application_short_name> \ -LOB_CODE <lob_code> \ -LANGUAGE <language> \ -TERRITORY <territory> \ -LOG_FILE <log file> Uploading Physical Files Syntax : java oracle. Data Template definition and Concurrent Programs.oa.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=XXX DATA_SOURCE_CODE=EMP_DD Upload the data definitions and its corresponding Templates to an instance. Option I File download Only Mode allows you to download files of the specified type (BURSTING_FILE. FNDLOAD : This tool is used to migrate Data Definition. XML_SAMPLE Option II . XML_SCHEMA.util.apps.xdo.xdo.util.xdo. Download a particular data definitions and its corresponding Templates. But when i tested the command. DATA_TEMPLATE. then it download the specified file type of that data definition or Template. Download Syntax : java oracle. If you specify the data definition or template code. it generated files of all type attached to a data definition in a specified application short name including the drv file.apps. FNDLOAD apps/<Password> 0 Y DOWNLOAD $XDO_TOP/patch/115/import/xdotmpl.XML_SCHEMA) from a specified application short name.TEMPLATE.

XDOLoader \ UPLOAD \ -DB_USERNAME apps \ -DB_PASSWORD welcome \ -JDBC_CONNECTION r12. Signature: Fnd_request.TEMPLATE. one of the following solutions needs to be implemented.XML_SAMPLE. we get the error "Unable to find published output for this request". the Template Name.request.submit_request . Root Cause: When we submit a concurrent program to generate XML Publisher / BI Publisher report using fnd_request.apps. Hence when we try to view the output.DATA_TEMPLATE. Issue2: Issue Root Cause: Beginning post-processing of request 11180253 on node USNBKA030 at 02-OCT-2009 16:41:33.File Download and LDT/DRVX Generation Mode allows you to download all the files (BURSTING_FILE. IN addition these files. java oracle. template_code in varchar2. template_territory in varchar2.add_layout before calling the fnd_request. which has the upload script for each of the file downloaded. .) for the XML Publisher engine to generate the output file.XML_SCHEMA) for a specified application short name.xdo.rtf 7. Template Language and Format is not set in the concurrent program option.util. template_language in varchar2. Post-processing of request 11180253 failed at 02-OCT-2009 16:48:34 with the error message: The concurrent manager has timed out waiting for the Output Post-processor to finish this request.apps. If you specify the data definition.WE8ISO8859P1 \ -XDO_FILE_TYPE RTF \ -FILE_CONTENT_TYPE ’text/html’ \ -FILE_NAME /tmp/psomanat/TEMPLATE_SOURCE_AMW_Emp_Template_en_US.submit.util.XDOLoader DOWNLOAD \ -DB_USERNAME <db_username> \ -DB_PASSWORD <db_password> \ -JDBC_CONNECTION <jdbc_conn_string> \ -APPS_SHORT_NAME <application_short_name> \ -DS_CODE (data source code> \ -LCT_FILE <full path to lct file> \ -LDT_FILE <ldt file> \ -DRVX_FILE <drvx file> \ -LOG_FILE <log file> Example : 1) Upload the RTF file. How to overcome this issue: There are 2 new profiles options that can be used to control the timeouts. Root Cause: By default a timeout will occur if it takes longer then 300 seconds (5 min.cp.ConcurrentRequest class.oa.fnd.xdo. Template Language and Format is not set in the concurrent program option.oa. Known Issues: “Unable to find published output for this request” Issue Root Cause: When we submit a concurrent program to generate XML Publisher / BI Publisher report using fnd_request. then it will download all the files for the specified data definition.apps. output_format in varchar2) return boolean is For OAF use addLayout method in oracle.add_layout (template_appl_name in varchar2.com:1533:R124 \ -LOB_TYPE TEMPLATE \ -APPS_SHORT_NAME AMW \ -LOB_CODE EMP_DD \ -LANGUAGE en \ -TERRITORY US \ -NLS_LANG American_America. How to overcome this issue: Call fnd_request. Syntax : java oracle. Depending on the error message. 1. it also generates a DRVX files.submit_request . the Template Name. The Concurrent Request will complete with status Warning and the Request log file will contain Error Message B.

Profile Option: Concurrent: OPP Response Timeout Internal Name: CONC_PP_RESPONSE_TIMEOUT Description: Specifies the amount of time a manager waits for OPP to respond to its request for post processing. i. 8. Enhancements How to generate XML outputs in different Languages based on the user preference? Solution: . Profile Option: Concurrent: OPP Process Timeout Internal Name: CONC_PP_PROCESS_TIMEOUT Description: Specifies the amount of time the manager waits for the OPP to actually process the request.

How to set Background color for each alternate row? Solution: This below sample code is used to set the background of the alternative rows in light silver color.While defining the Templates. ii. This code has to be added in the row first property as shown in the screen shot. <?if@row:position() mod 2=0?><xsl:attribute name="backgroundcolor"xdofo:ctx="incontext">Needed Colour </xsl:attribute> . We can attach templates for different Language and territory combination in according to the needed user preference values.

It can be done by setting by the row level property as shown in the screen shot for a particular group of data. How to add sorting condition in the template? The records can be sorted by by particular field. <?sort:field_name?> .iii.

iv. we can restrict the data to display or not in the output file. How to eliminate zero amount lines ? Based on the field data value (whether it holds zero or non-zero). By defining the condition in row level property of the particular group of data as shown in the below screen shot. <?if field_value > 0?> .

v. How to define number formats? .

. vi. How to make titles to repeat on each page? We can use the table property to make the titles to repeat on each pages as shown below.We can define the number formats in the field value as shown in the below screen shot.

Reference Documents http://www.com/technology/products/xml-publisher/xmlpdocs.oracle.9.html .

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->