The XML Prolog Value property specifies the XML prolog that should appear at
the beginning of all well-formed XML output. The XML
Prolog Type property specifies whether the prolog is provided as text or
within a file generated by Oracle Reports. The XML prolog should include an
XML declaration but can also include comments, processing instructions (such
as a stylesheet [XSL]
), and a document type declaration (DTD).
Applies to |
Report |
Values |
Prolog text typed in the Prolog Value dialog box, or a file name that contains the XML prolog. |
Default |
<?xml version="1.0"?>
|
Required/Optional |
An XML declaration is required for well-formed XML output. However, any alpha-numeric character in this property field will allow raw XML output to be generated in Reports Builder. |
XML Declaration: |
<?xml version="1.0"
encoding="UTF-8"?> |
Comments: |
<!-- this is how you
do comments in XML -->
|
Processing instruction (PI) through client/server: |
|
Processing instruction (PI) through the Web: |
|
Document Type Declaration (DTD): |
|
The following is an example of prolog text which contains (in order) an XML declaration, a comment, a processing instruction (PI), and a document type declaration (DTD):
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is how you make comments in XML -->
<?xml:stylesheet type="text/xsl" href="emp.xsl" ?>
<!DOCTYPE EMP_TABULAR
[
<!ELEMENT EMP_TABULAR (EMP_ITEM)*>
<!ELEMENT EMP_ITEM (EMPNO)>
<!ELEMENT EMPNO (#PCDATA)>
]>
REPORTS_UTF8_XMLOUTPUT
environment variable
Copyright © 1984, 2005, Oracle. All rights reserved.