eText Processor Oracle Fusion Middleware Online Documentation Library

7-32 Developers Guide for Oracle Business Intelligence Publisher Figure 7–6 Hierarchy and Elements of the Document Processor XML File The following table describes each of the elements: Table 7–1 Elements in Document Processor XML File Hierarchy Element Attributes Description requestset xmlns version Root element must contain [xmlns:xapi=http:xmlns.o racle.comoxpxapi] block The version is not required, but defaults to 1.0. request NA Element that contains the data and template processing definitions. delivery NA Defines where the generated output is sent. document output-type Specify one output that can have several template elements. The output-type attribute is optional. Valid values are: pdf Default rtf html excel text filesystem output Specify this element to save the output to the file system. Define the directory path in the output attribute. print ■ printer ■ server-alias The print element can occur multiple times under delivery to print one document to several printers. Specify the printer attribute as a URI, such as:ipp:myprintserver:631 printersprintername Using the BI Publisher Java APIs 7-33 fax ■ server ■ server-alias Specify a URI in the server attribute, for example: ipp:myfaxserver1:631pr intersmyfaxmachine number The number element can occur multiple times to list multiple fax numbers. Each element occurrence must contain only one number. email ■ server ■ port ■ from ■ reply-to ■ server-alias Specify the outgoing mail server SMTP in the server attribute. Specify the mail server port in the port attribute. message ■ to ■ cc ■ bcc ■ attachment ■ subject The message element can be placed several times under the email element. You can specify character data in the message element. You can specify multiple e-mail addresses in the to, cc, and bcc attributes separated by a comma. The attachment value is either true or false default. If attachment is true, then a generated document will be attached when the e-mail is sent. The subject attribute is optional. background where If the background text is required on a specific page, then set the where value to the page numbers required. The page index starts at 1. The default value is 0, which places the background on all pages. text ■ title ■ default Specify the watermark text in the title value. A default value of yes automatically draws the watermark with forward slash type. The default value is yes. pagenumber ■ initial-page-index ■ initial-value ■ x-pos ■ y-pos The initial-page-index default value is 0. The initial-value default value is 1. Helvetica is used for the page number font. Thex-pos provides lower left x position. The y-pos provides lower left y position. Table 7–1 Cont. Elements in Document Processor XML File Hierarchy Element Attributes Description