Section - 3 : Example Documaker XML File Format
The XML file created from Documaker Workstation (PPS) should look similar to the file excerpts shown below.
<?xml version="1.0" encoding="UTF-8"?>
<DOCUMENT TYPE="RPWIP" VERSION="10.3">
<DOCSET NAME="">
<FXRFILE NAME="rel102sm"/>
<GROUP NAME="" NAME1="DOCUCORP PACKAGE" NAME2="VERSION 103">
<FORM NAME="Tersub - Basic" OPTIONS="R">
<DESCRIPTION>Tersub - Basic Paragraph Assem</DESCRIPTION>
<FIELD NAME="FIELDTwo">8:30 AM</FIELD>
<FIELD NAME="FIELDThree">5:30PM</FIELD>
<RECIPIENT NAME="AGENT" COPYCOUNT="1" CODE="" SEQUENCE="1"/>
<RECIPIENT NAME="HOME OFFICE" COPYCOUNT="1" CODE=""SEQUENCE="2"/>
<RECIPIENT NAME="INSURED" COPYCOUNT="1" CODE="" SEQUENCE="3"/>
:
</FORM>
</GROUP>
</DOCSET>
</DOCUMENT>
This table lists the system-generated tag names and attributes and gives an explanation of each.
| Tag Name | Attribute | Explanation |
|---|---|---|
| ?xml | The XML declaration line | |
| DOCUMENT | TYPE | The Documaker Standard Header. The attribute Type is hard-coded to be exported as RPWIP. |
| VERSION | The version of the software being used. | |
| DOCSET | NAME | The name of the document set that contains all forms required to process a single transaction, which is usually the FORM.DAT file. |
| GROUP | NAME1, NAME2, NAME3 | The key names used in the FORM.DAT file to group a set of common forms, such as Key1 = Company, Key2 = LOB, and so on. |
| FORM | NAME | The name of a single document containing one or more pages and options that define the form. See Form options for more information. |
| DESCRIPTION | (Optional) A user-defined description of the form. | |
| FIELD | NAME | (Optional) A field tag can be at the document, form, or section level, depending on the field scope. Fields tags at the...
- Document level will be populated to all identically named variable fields in all images and all forms in a form set. - Form level will be populated to all identically named variable fields in all images in the current form. - Section level will be populated only to the variable field within a single section/image. |
| RECIPIENT | NAME | The name used to identify who receives a copy or copies of a form set, or any part of a form set. |
| COPYCOUNT | The number of copies for a particular recipient | |
| CODE | Not required. | |
| SEQUENCE | (Optional) The order in which the recipient copies print. |
<SHEET>
<PAGE>
<SECTION NAME="parasem">
<FIELD NAME="FIELD">
<P ALIGN="CENTER">
<FONT STYLE="FONT-SIZE: 10pt" FACE="Univers ATT">
<B>Sample Text</B>
</FONT>
</P>
<P STYLE="margin-left: 2.00in">
<FONT STYLE="FONT-SIZE: 10pt" FACE="Univers ATT">
Sample text left margin is 2 inches sample text
</FONT>
<P>
<STOPS>
<TS FAPS=”3600” SPECIAL=”2”/>
<TS FAPS=”7600” SPECIAL=”1”/>
<TS FAPS=”11600” LEADER=”46”/>
</STOPS>
<FONT STYLE=”FONT-SIZE: 11pt” FACE=”Albany AMT”>
<TAB/>Center Tab Stop
<TAB/>Right Just. Tab Stop
<TAB/>Left with Leader
</FONT>
</P>
</P>
<BR>
:
</PAGE>
</SHEET>
| Tag Name | Attribute | Explanation |
|---|---|---|
| BR | (Optional) Indicates a paragraph break. BR is used when there are no attributes for a paragraph. | |
| ALIGN | (Optional) Indicates the justification, such as Left, Center, or Right. | |
| STYLE | (Optional) Indicates the indentation, such as a 2-inch left margin or a 1-inch hanging indent margin. | |
| FONT | STYLE | (Optional) Indicates the point size of the font used. |
| FACE | (Optional) Indicates the font family name. | |
| COLOR | (Optional) Indicates the font color. | |
| B | (Optional) Indicates bold text. | |
| I | (Optional) Indicates italicized text. | |
| U | (Optional) Indicates underlined text. | |
| STOPS | Custom tab stops group – contains non-default tab stop definitions | |
| TS | FAPS | Width of custom tab stop, 2400 faps = 1 inch (default is 600, ¼ inch) |
| SPECIAL | Tab stop type: 0 = left (default), 1 = right, 2 = center, 4 = decimal, 8 = bar | |
| LEADER | Optional leader character ASCII value (46 is a period) | |
| TAB | Denotes a tab within the text. (Note that actual tab characters embedded within the text are treated as spaces). |
Form options
You can choose from these form options:
| To indicate the form | Enter this code |
|---|---|
| Is to be stapled | B |
| Was completed | C |
| Is a dec page | D |
| Is an entry form with required fields | E |
| Is fixed (non-selectable) | F |
| Is legal size | G |
| Is hidden | H |
| Is A4 size | I |
| Is executive size | J |
| Is in landscape | K |
| Can be copied (multiple copies are allowed) | M |
| Should not be defaulted to the display | N |
| Is an overflow form | O |
| Is a pull form | P |
| Is required | R |
| Is a sub dec - program policy | S |
| Was user selected | U |
| Is a master dec - program policy | X |
| Was system generated | Y |
| Should contain a line of Zs (z-z-z-z-z...) | Z |