Post on 08-Dec-2015
description
transcript
Agenda
• Understanding How XML Work • Basic to create XML report • More Advanced • Showing Trapshooting • View examples .
Tasks to create XML Report
• Setup Oracle Bi Publisher Desktop .• Generate XML Flat • Design layout • Create Data Definition .• Create Layout Definition
Generate XML Flat File 1- If report not under Oracle Application Report .
Form your RDF >File > Generate file to >XML
Note : if you use Report Builder less than 10 g please take into your consider that -no spaces in you flat . -No Arabic in your flat .
2- if report under Application reports : Query report from concurrent then change Output Format to XML .
Designing the Template Layout .
Use your word processing application's formatting features to create the design.For example:• Select the size, font, and alignment of text• Insert bullets and numbering• Draw borders around paragraphs• Include a watermark• Include images (jpg, gif, or png)• Use table autoformatting features• Insert a header and footer
Defining Groups
• By defining a group, you are notifying XML Publisher that for each occurrence of an
• element, you want the included fields displayed. At runtime, XML Publisher will loop
• through the occurrences of the element and display the fields each time.• To designate a group of repeating fields, insert the grouping tags around
the elements to repeat.• Insert the following tag before the first element:• <?for-each:XML group element tag name?>• Insert the following tag after the final element:• <?end for-each?>
About Grouping Tags
• If you insert the grouping tags around text or formatting elements, the text and formatting elements between the group tags will be repeated.
• If you insert the tags around a table, the table will be repeated.
• If you insert the tags around text in a table cell, the text in the table cell between the tags will be repeated.
• If you insert the tags around two different table cells, but in the same table row, the single row will be repeated.
• If you insert the tags around two different table rows, the rows between the tags will be repeated
Defining Headers and Footers
• At the time of this writing, Microsoft Word does not support form fields in the header and footer.