XML Publisher
XML Publisher
I think it is very important that you get a feel of XML Publisher, as this
will become the reporting tool in Fusion [assuming XMLP can become
as powerful as Oracle Report in the given time].
Sounds simple, it is indeed, but devil lies in detail. Hence read the
below carefully.
I have provided the source code with installation instructions for you to
try this. Please note to try this you need 11.5.10 environment.
2. Next you need a concurrent program that spit out an XML file to the
output of the concurrent program. Such concurrent program can be of
type SQL or PL/SQL or Oracle Report or any other supportable type,
provided it can produce a XML output.
Hence in this case, we will develop a Report that has all the columns
from table xx_managers
Create a plain default Oracle Report using wizard in Oracle Reports 6i.
This can be done using wizard with SQL “select * from xx_managers”
Above picture shows the report output in Reports 6i preview
8. Run the report and you will see an xml output appearing. Save the
output as XX_MANAGERS_241106.xml on your computer. You will need
to use menu /Tool/Copy to open this XML output in browser, and then
save it as XX_MANAGERS_241106.xml on your PC.
This is a tool given by Oracle[Desktop XML Publisher] that will read any
XML file, will create the fields automatically.
10. Open MS Word after installing as per step 9, and you will now see
something similar to below in Microsoft Word
Effectively by doing these steps, you have just created a Layout for the
report in XML Publisher. The layout will look like this [as below].
Save this MSWord file as MANAGER_XML_TEMPLATE.rtf
12. Now, lets do the real bit in attaching the Concurrent Program
definition to XML
Publisher. Logon to responsibility “XML Publisher Administrator”.
For doing so, click on Templates Tab. We need to create a Template for
the data-definition of previous step.