You are on page 1of 36

WHAT IS AN XML PUBLISHER ?

XML PUBLISHER

XML Publisher enables customers to utilize a set of familiar desktop tools to create and maintain their own report formats based on XML data extracts from their existing Oracle Applications concurrent request

programs.
At runtime, XML Publisher merges the custom templates with the concurrent request data extracts to generate output in PDF, HTML, RTF, EXCEL

FROM DATA TO DESTINATION

Oracle, SQL Server

PDF

Email

RTF

Printer

PeopleSoft, SAP, Siebel

XML Publisher XML Publisher


XSL

HTML

Fax
Excel

Java, C++, Pearl, etc

Templates Word Excel Acrobat


XML

Repository

Web Services

e-Commerce

Data Source

Layout Tools

Output

Destinations

EXTRACT ONCE PUBLISH MULTIPLE TIMES


XML Data
PDF

Excel

HTML

XML Publisher
RTF

XML
XSL

Different Templates For different output formats

ADVANTAGES
Different output formats can be applied to a report like PDF,

HTML, etc.,
The same report can be run multiple times in multiple formats Can create multiple different Layouts for same report for different organizations Can design the Layout easily Can display the Logo of Client Can modify the Layout including Footer and Header easily

Fast, scalable extraction engine


Integrated into concurrent manager Migration tools available from Oracle Reports Offers all that Oracle Reports offers + 30-40% faster

HOW TO CREATE AN XML REPORT ?

I.

Creating Concurrent Program & Generating a sample XML Output Creating the Queries to get data Planning the Loops as per the client requirements Creating the Package Spec & Body Creating the Executable with Executable Method as PLSQL Stored Procedure Creating the Concurrent Program with output as XML Run the concurrent program and store the XML output as Sample in Local Directory

II. Creating Layout (RTF File) Open a New Document in Word Load the sample XML data Design the Layout as per the client requirements with inserting the XML tag in proper manner. Save the file as RTF file. Create the PDF and check the output.

III. Creating Data Definition & Template Create the data definition (In Code field enter the short name of concurrent program in correct case) Create the template (Here we need to attach the RTF)

PLSQL Stored Procedure

Executable

Concurrent Program

XML Data
PDF

Data Definition

Template

Excel

RTF File
HTML

XML Publisher
XML

SAMPLE REPORT

CREATING THE PACKAGE SPECIFICATION

CREATING THE PACKAGE BODY

CREATING THE EXECUTABLE

CREATING THE CONCURRENT PROGRAM

DEFINING THE PARAMETERS

ADD THE PROGRAM IN REQUEST GROUP OF ANY RESPONSIBILITIES

RUN THE PROGRAM FROM THAT RESPONSIBILITIES & GENERATE THE XML OUTPUT

PROGRAM WILL GENERATE THE OUTPUT AS SHOWN BELOW. SAVE THIS FILE IN LOCAL DIRECTORY

CREATING LAYOUT (RTF FILE)

FOLLOWING PICTURE HAS SHOWN THE MODIFIED TEMPLATE

AFTER MODIFYING, SAVE THIS AS RTF FILE IN LOCAL DIRECTORY

CREATING THE DATA DEFINITION & TEMPLATE

Click Here

This code should same as Concurrent program short name

Click Here

LINK
PLSQL Stored Procedure

Execution File Name (Package Name. Procedure Name)


Executable

Executable Short Name

Concurrent Program

Concurrent Program Short Name


Data Definition

RTF File Attach the File

Data Definition Name


Template

Before Creating Data Definition & Template If you run the


Concurrent Program, it will generate the output file as XML File. After Creating Data Definition & Template If you run the Concurrent Program, it will generate the output file as PDF File.

OUTPUT

QUESTIONS ?

THANK YOU

You might also like