Oracle XML Publisher
Oracle XML Publisher
Edi Yanto
ediyanto83@gmail.com
Oracle Applications Technical Consultant
Day 1
2
Day 2
3
Oracle XML Publisher Overview
4
What is XML Publisher ?
5
XML Publisher
Data Logic
XML EFT
Layout
XML Publisher
Report
Translation output
Rapid Development
Greater Flexibility
Reduce Maintenance Cost
7
… from Data to Destination …
8
XML Publisher Modules
Template Manager
Email
Template
SQL XSL
Printer
XML
Data XML Delivery
Oracle
Handler Data Server Fax
Report
Web XML
Services XLIFF Repository
EFT
Translation e-Commerce
Translation Handler
Translation
Catalogs
9
XML Publisher Technology
10
Sample Outputs
11
Financial Reports
12
Business Reports
13
Invoices
14
Purchase Orders
15
Sales Orders
16
Government Forms
17
Tax Forms
18
Electronic Payments EFT / EDI
19
Or Maybe…. All Of Them
One Solutions for All Your Business Documents
20
Why XML Publisher ?
21
Complex Reporting Environments
EFT/EDI
22
Single Solution Environment
Meet Business
Requirements Checks
Remove Complexity Invoices
Reduce Maintenance Cost
Reduce Total Cost
Labels Reports
End User
• Consistent user interface
• Report in multiple formats
• Language and locale options
• Multiple delivery channels
Development
• Focus on data provisioning
24
Classic Report Customization
Vs
XML Publisher
25
Classic Report Customization (1)
Report file
Translation
27
XML Publisher Customization
Report XSL
Templates
XML EFT
XML Data
Report
28 Output
Benefits of XML Publisher
29
XML Publisher Usage
30
It’s everywhere…
31
Oracle Applications
• Peoplesoft
– Current release 8.48, integration with scheduler, query engine
– 8.50 will uptake 5.6.3 features – Early 2008
• E Business Suite
– 11i – 5.6.3 to be released very soon
– R12 – 5.6.3 embedded
• JD Edwards
– Current release 8.96 – “Do it yourself kit”
– 8.98 – bursting, better integration, templates
• Siebel
– 8.0 has 5.6.3.embedded
– 8.1 will ship with BIPE integration and templates – Early 2008
• Retail
– Mid 07 Release
– XMLP integrated directly
32
Middleware and Business Intelligence
• BIEE 10.1.3.2
– Integrated into dashboard, Answers, direct query, briefing books,
PDF generation
• Application Server
– Multiple products now integrating XMLP as their reporting solution
• Database
– APEX 3.0 – integration with BIP Server
– Will ship as option to database
33
XML Publisher Future
34
Oracle Fusion Applications
35
What’s Coming…
37
Familiar Design Tools
T F L
R X S
38
Template Styles Available
39
Designing the Layout
40
Multiple Language and Font Support
41
Security
42
Associating the XML Data
Data Element:
To create the data element we need to add the Forms toolbar.
43
Text Form Field
44
Grouping Data
Note: Use the for-each@section to repeat the header information across pages of the
output document. The field will be repeated if the line information runs across more
than one page, the page numbering will also be reset.
45 Re-grouping: <?for-each-group:BASE Group;Grouping Element?>
Headers and Footers
• Header Template
46
Conditional Formatting
47
Variables
Get Value
<?xdoxslt:get_variable($_XDOCTX, ‘variable name')?>
48
Others Formatting (1)
50
XPATH Notations
Notation Meaning
. Current Node
.. Parent
@ Attribute
[] To Specify Conditions
51
Extended SQL and XSL Functions
Syntax:
<?xdofx:expression?>
Examples:
<?xdofx:rpad(FIRST_NAME||LAST_NAME),30,'x')?>
<?xdofx:decode('xxx','bbb','ccc','xxx','ddd')?>
<?xdofx:Instr('abcabcabc','a',2)?>
<?xdofx:upper(char)?>
52
Register and Submitting
XML Publisher
53
Process Overview
54
XML Publisher Responsibility
55
XML Publisher Data Source
Set the output type for any Oracle Seeded Report program to XML
56
XML Data Definition
Navigation:
XML Publisher Administrator-> Data Definition-> Create Data Definition
57
XML Template
Navigation:
XML Publisher Administrator-> Template-> Create Template
58
Submitting the Concurrent Request
59
Demo
• Invoice
• Localization and Translation
• Chart and Cross Tab
60
References
• http://www.oralce.com/technology/products/xml-
publisher/index.html
• http://www.oracle.com/technology/products/xml-
publisher/xmlpsamples.html
• http://blogs.oracle.com/xmlpublisher/
• http://w3schools.com/
• http://metalink.oracle.com
• http://ediyanto83.wordpress.com
61
62