A script-enabled browser is required for this page to function properly.

XML Prolog Value dialog box

The XML Prolog Value dialog box enables you to edit values for the XML prolog. The XML Prolog Type property specifies whether the prolog is provided as text or within a file generated by Reports Builder. 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).

Syntax examples

XML Declaration:

<?xml version="1.0" encoding="UTF-8"?>

Comments:

<!-- this is how you do comments in XML -->

Processing instruction (PI) through client/server:

<?xml:stylesheet type="text/xsl" href="emp.xsl" ?>

Processing instruction (PI) through the Web:

<?xml:stylesheet type="text/xsl" href="http://[hostname]/[virtual_path]/emp.xsl" ?>

Document Type Declaration (DTD):

<!DOCTYPE EMP_TABULAR [
<!ELEMENT EMP_TABULAR (EMP_ITEM)*>
<!ELEMENT EMP_ITEM (EMPNO)>
<!ELEMENT EMPNO (#PCDATA)>
]>

Example

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)>
]>