<report>
XML tagThe <report>
tag delimits
the beginning and ending of the report definition. You can append attributes
that apply to the entire report to the <report>
tag.
<report DTDVersion=dtdver"
[name="report_name"]
[title="report_title"]
[author="author_name"]
[beforeParameterFormTrigger="trigger_name"]<br>
[afterParameterFormTrigger="trigger_name"]
[beforeReportTrigger="trigger_name"]
[betweenPagesTrigger="trigger_name"]
[afterReportTrigger="trigger_name"]>
content_of_report
</report>
Parameters /Options |
Descriptions |
|
Is the version of the Oracle Reports DTD used to generate this XML report definition. Since the DTD can change between versions, any new reports definition must include information about which version was used. This permits backward compatibility in future releases. For example, |
|
Is the name of the report. If the name is not specified,
then the default is |
|
Is the title to be placed at the beginning of the report. When applying the definition title at an .rdf file, this title overrides the existing report title. |
|
Is the name of the author. |
trigger_name |
Is the name of a report trigger. If you do not specify this attribute when you want to apply an XML customization file to modify or create a report trigger, the report trigger PL/SQL code will be treated as a local (independent) function when the XML customization file is applied to your report. |
This example shows an XML customization document designed to be applied to
an .rdf
file named cond.rdf
. This example does not
touch the data model. It only changes the formatting of some of the fields in
the layout.
<report name="cond" DTDVersion="1.0">
<!-- This report assumes that the file
named header_example.html is located
in d:\ORANT\TOOLS\DOC60\US\RBBR60.
If it it not located there, the report
will not run properly.
-->
<layout>
<section name="main">
<field name="f_trade_date"
source="trade_date"
formatMask="MM/DD/RR"/>
<field name="F_Mincurrent_pricePersymbol"
source="Mincurrent_pricePersymbol"
lineColor="black"
fillColor="r100g50b50"/>
<field name="F_Maxcurrent_pricePersymbol"
source="Maxcurrent_pricePersymbol"
lineColor="black"
fillColor="r100g50b50"/>
</section>
</layout>
<customize>
<object name="videosales" type="REP_REPORT">
<properties>
<property name="beforeReportType">
File
</property>
<property name="beforeReportValue">
d:\xml_reps\header_example.html
</property>
<property name="afterReportType">
Text
</property>
<property name="afterReportValue">
<![CDATA[
<center>
<font face="Arial,Helvetica">
<font size=-1>
<font color="#000000">
Send questions to <a href="mailto:your_email_id">YourNameHere</a>.
<br>
</font>
</center>
</body>
</html>
]]>
</property>
</properties>
</object>
</customize>
</report>
Copyright © 1984, 2005, Oracle. All rights reserved.