Top Banner
EAS – Oracle Apps XML Publisher
52
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: XML Publisher- 17th July 07

EAS – Oracle Apps

XML PublisherXML Publisher

Page 2: XML Publisher- 17th July 07

EAS – Oracle Apps

AgendaAgenda

• What is XML Publisher?

• Why XML Publisher ?

• Reports customization vs. XML Publisher

• Designing using XML Publisher

• Intro to new Features in 5.6.2

Page 3: XML Publisher- 17th July 07

EAS – Oracle Apps

What is XML Publisher ?What is XML Publisher ?

Page 4: XML Publisher- 17th July 07

EAS – Oracle Apps

XML PublisherXML Publisher

XML Publisher is a tool which enables the users to produce

flexible, high quality, template-based

reports from E-Business Suite data

Page 5: XML Publisher- 17th July 07

EAS – Oracle Apps

The ConceptThe Concept

• The main feature of XML Publisher is that it separates the Data Source from the presentation/Layout.

Reportoutput

Data Logic

Layout

TranslationXML Publisher

•Greater Flexibility

•Lesser maintenance

Page 6: XML Publisher- 17th July 07

EAS – Oracle Apps

XML Publisher OverviewXML Publisher Overview

Page 7: XML Publisher- 17th July 07

EAS – Oracle Apps

Sample OutputsSample Outputs

Page 8: XML Publisher- 17th July 07

EAS – Oracle Apps

Why XML Publisher ?Why XML Publisher ?

Page 9: XML Publisher- 17th July 07

EAS – Oracle Apps

Classic methodClassic method

Costly Time consuming Complex systems Expensive maintenance Labor intensive

Page 10: XML Publisher- 17th July 07

EAS – Oracle Apps

Using XML PublisherUsing XML Publisher

• XML Publisher enables user to design the check layout using Microsoft word or Adobe Acrobat.

• The logo and signature just need to be inserted into the document. The MICR fonts can be purchased and included in the template like any other font.

Meet Business Requirements Removes Complexity Reduces Maintenance Cost Reduces Total Cost

Page 11: XML Publisher- 17th July 07

EAS – Oracle Apps

Benefits to StakeholdersBenefits to Stakeholders

Page 12: XML Publisher- 17th July 07

EAS – Oracle Apps

Report customization vs

XML Publisher

Report customization vs

XML Publisher

Page 13: XML Publisher- 17th July 07

EAS – Oracle Apps

Familiar Design ToolsFamiliar Design Tools

The check format can be designed using desktop applications

• Microsoft Word

• Adobe Acrobat 

Standard Reports would need complex customizations to the RDF or third party solution to precisely position the check details.

R T FR T FP D F

P D F

Page 14: XML Publisher- 17th July 07

EAS – Oracle Apps

Multiple Language and Font SupportMultiple Language and Font Support

Multiple font support XML Publisher ships with full set of Unicode Fonts Scalable Unicode font embedding Support for font mapping and font linking (MICR and Barcode fonts can be embedded and linked to

the output. No need for Printer specific fonts.)

Multiple Language Support 160 languages and 200 Territories (ISO Standards) are

supported Easy to translate each template into 160 languages Utilize RTF or XLIFF for translation

Page 15: XML Publisher- 17th July 07

EAS – Oracle Apps

SecuritySecurity

XML Publisher allows the user to produce secure PDF output, with security levels covering the following

Read only / Editable Copy Text Printable Password Protection

Page 16: XML Publisher- 17th July 07

EAS – Oracle Apps

Classic Report CustomizationClassic Report Customization

• 1 Data Set,10 Layouts, 30 Languages ->> 300 reports

High Maintenance CostHigh Customization CostDifficult Upgrade

Page 17: XML Publisher- 17th July 07

EAS – Oracle Apps

XML Publisher customizationXML Publisher customization• 1 data Set, 10 Layout Templates, 30 Translation files automatically

generated using XLIFF

Report Templates

XML DataReport Output

XSL

XML EFT

Page 18: XML Publisher- 17th July 07

EAS – Oracle Apps

Benefits of XML PublisherBenefits of XML Publisher

• Flexibility

• Lesser complexity

• Reduced Maintenance

• Less labor intensive

• Lesser Costs

Page 19: XML Publisher- 17th July 07

EAS – Oracle Apps

Designing using XML Publisher

Designing using XML Publisher

Page 20: XML Publisher- 17th July 07

EAS – Oracle Apps

Process OverviewProcess Overview• Set up the XML Publisher responsibility• Set the E-Business Suite report to generate XML

output.• Register the E-Business Suite report as a Data

Definition with XML Publisher.• Design the template and Register the template in

the Template Manager. • Run the Standard program to obtain the XML data

file.• Run the XML Report Publisher request to merge

the data with the template.

Page 21: XML Publisher- 17th July 07

EAS – Oracle Apps

XML Publisher ResponsibilityXML Publisher Responsibility

Page 22: XML Publisher- 17th July 07

EAS – Oracle Apps

XML Publisher Data SourceXML Publisher Data Source Set the output type for any Seeded Payment format program to XML

Page 23: XML Publisher- 17th July 07

EAS – Oracle Apps

XML Data DefinitionXML Data DefinitionNavigation: XML Publisher Administrator-> Data Definition-> Create Data Definition

Page 24: XML Publisher- 17th July 07

EAS – Oracle Apps

XML Template XML Template Navigation: XML Publisher Administrator-> Template -> Create Template

Page 25: XML Publisher- 17th July 07

EAS – Oracle Apps

Submitting the Concurrent RequestSubmitting the Concurrent Request

• The Standard Program is run which would run produce the XML output.

• Then the ‘XML Report Publisher’ program is submitted to merge the Template Layout and the XML Data to produce the Output

• With XML Publisher 5.6.2 the above two steps are combined and the XML Publisher Report is automatically submitted.

Page 26: XML Publisher- 17th July 07

EAS – Oracle Apps

Template Styles AvailableTemplate Styles Available

Page 27: XML Publisher- 17th July 07

EAS – Oracle Apps

Designing the LayoutDesigning the Layout

The RTF layout can be designed using the Standard features in Word.

Select the size, font, and alignment of text Insert bullets and numbering Draw borders around paragraphs Include a watermark Include images (jpg, gif,) Use table auto formatting features Insert a header and footer

Page 28: XML Publisher- 17th July 07

EAS – Oracle Apps

Associating the XML DataAssociating the XML Data

Data Elements:

To Create the Data elements we need to add the Forms toolbar

Page 29: XML Publisher- 17th July 07

EAS – Oracle Apps

Text Form FieldText Form Field

• Text form field is used to reference the XML Data

Page 30: XML Publisher- 17th July 07

EAS – Oracle Apps

Grouping DataGrouping Data

Page 31: XML Publisher- 17th July 07

EAS – Oracle Apps

Headers and FootersHeaders and Footers

There are 2 ways to define headers & footers.

Native word headers Header Template

Page 32: XML Publisher- 17th July 07

EAS – Oracle Apps

Conditional Formatting Conditional Formatting • Conditional Format Statements:• if • if-then-else• choose- when-otherwise

• The Conditional Formatting using if statement:

Page 33: XML Publisher- 17th July 07

EAS – Oracle Apps

Row/Column high lightingRow/Column high lighting

Syntax:

<?if@row:position() mod 2=0?>

<xsl:attribute name="background-color” xdofo:ctx="incontext">green</xsl:attribute>

<?end if?>

Page 34: XML Publisher- 17th July 07

EAS – Oracle Apps

TotalsTotals

Creation of Page Total Element

<?add-page-total:TotalFieldName;'element'?>

Displaying Page Total:

<?show-page-total:TotalFieldName;'Oracle-number-format'?>

Page 35: XML Publisher- 17th July 07

EAS – Oracle Apps

Sorting and Re groupingSorting and Re grouping

Sorting :

<?sort:element name?>

Re grouping:

<?for-each-group:BASE Group;Grouping Element?>

<?for-each:current-group(); GROUPING-ELEMENT?>

Page 36: XML Publisher- 17th July 07

EAS – Oracle Apps

FormattingFormatting

Page Breaks:<?split-by-page-break:?>

Last Page Only<?start@last-page:body?>

<?end body?>

End on Odd or Even Page <?section:force-page-count;'end-on-even'?>

<?section:force-page-count;'end-on-odd'?>

Page 37: XML Publisher- 17th July 07

EAS – Oracle Apps

VariablesVariables

• Declaration:<xsl:variable name="lpp" select="number(5)"/>

• Assigning Value:<?xdoxslt:set_variable($_XDOCTX, 'variable name', value)?>

• Get Value :<?xdoxslt:get_variable($_XDOCTX, 'variable name')?>

Page 38: XML Publisher- 17th July 07

EAS – Oracle Apps

SignatureSignature

• A dummy signature/VOID image is included in the Template and actual signature referenced at runtime.

Page 39: XML Publisher- 17th July 07

EAS – Oracle Apps

MICR fontMICR font• Download the MICR font and use it for the MICR code

Page 40: XML Publisher- 17th July 07

EAS – Oracle Apps

Linking MICR fontLinking MICR font• The MICR font can be linked by moving it to a UNIX directory and referencing

the location in the Template

Page 41: XML Publisher- 17th July 07

EAS – Oracle Apps

XPATH NotationsXPATH Notations

Notation Meaning

. Current Node

.. Parent

// all elements in the XML document

/ Descendants

@ Attribute

[] To specify conditions

Page 42: XML Publisher- 17th July 07

EAS – Oracle Apps

Extended SQL and XSL FunctionsExtended 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)?>

Page 43: XML Publisher- 17th July 07

EAS – Oracle Apps

Dynamic Data ColumnsDynamic Data Columns

• Dynamic Column Header<?split-column-header:group element name?>

• Dynamic Column Data <?split-column-data:group element name?>

• Dynamic Column width<?split-column-width:name?>

Page 44: XML Publisher- 17th July 07

EAS – Oracle Apps

Configuration FileConfiguration File• Customize the behavior of XML Publisher by setting

properties in a configuration file. • The configuration file is optional.• No default configuration file is provided.• The file is primarily used for: Setting properties for PDF, RTF, and HTML o/p

Setting PDF security propertiesSetting font locations and substitutions

Setting translation properties

Filename: xdo.cfg.Location: <JRE_TOP>/jre/lib

Page 45: XML Publisher- 17th July 07

EAS – Oracle Apps

New Features in 5.6.2New Features in 5.6.2

Page 46: XML Publisher- 17th July 07

EAS – Oracle Apps

New in 5.6.2New in 5.6.2

• Data Extraction Engine

• Bursting Engine

Page 47: XML Publisher- 17th July 07

EAS – Oracle Apps

Data EngineData Engine

• The XML Publisher data engine enables you to rapidly generate any kind of XML data structure against any database in a scalable, efficient manner.

• The data template is the method by which you communicate your request for data to the data engine.

Page 48: XML Publisher- 17th July 07

EAS – Oracle Apps

Sample data templateSample data template

Page 49: XML Publisher- 17th July 07

EAS – Oracle Apps

BurstingBursting

• XML Publisher’s bursting engine accepts a data stream and splits it based on multiple criteria, generates output based on a template, then delivers the individual documents through the delivery channel of choice.

• The engine provides a flexible range of possibilities for document generation and delivery.

Page 50: XML Publisher- 17th July 07

EAS – Oracle Apps

Bursting contd..Bursting contd..

Page 51: XML Publisher- 17th July 07

EAS – Oracle Apps

Q&AQ&A

Page 52: XML Publisher- 17th July 07

EAS – Oracle Apps

ReferencesReferences

• http://www.oracle.com/technology/products/xml-publisher/index.html

• http://blogs.oracle.com/xmlpublisher/

• http://www.oracle.com/technology/products/xml-publisher/xmlpsamples.html