File Processing
36
Split At Item
The splitat item has the following format:
<field1 name="splitat">{split at format}</field1>
Where the
{split at format}
is the information to be used in splitting the document. Each split
type uses the value of splitat differently. For Page Splitting, splitat specifies how many pages it
must process before closing the document and starting a new one. However for Barcode
Splitting, splitat actually refers to the value of the barcode that marks where the document
should be split.
If we wanted the document to be split into 3-page sets:
Example:
<field2 name="splitat">3</field2>
<field1 name="splittype">p</field1>
If we wanted the document to be split at the page containing a barcode with value "12345":
Example:
<field1 name="splittype">b</field1>
<field2 name="splitat">12345</field2>
Delivery Address Item
The deliveryaddress item has the following format:
<field1 name="deliveryaddress">{address format}</field1>
Where
{address format}
represents a format string used to specify the delivery address. A
format string is a text value that can contain special codes that are replaced with values at the
time that the file name is generated.
The only code that is supported by this item is the custom field code:
•
${field name}$
The format of this field must be carefully constructed when creating the enhanced template
definition in Top Access. The reason is that the address format must match the delivery method,
or else the file will not be delivered. So for email delivery the delivery address must be an email
address, for FTP delivery it must specify an ftp server and path, and for folder delivery it must
specify a network directory location. It is expected that the use of custom fields will be quite
common when formatting delivery addresses.
Some examples will help clarify the use of this item.
Example1:
Consider the following XML:
<field1 name="delivery">
</field1>
<field2 name="deliveryaddress">
$email name$@$domain
name$.com
</field2>
<field3 name="email name">
john.doe
</field3>
<field4 name="domain name">
ebridge
</field4>
This will generate a delivery address of: