Table data output – Kofax DOKuStar Validation User Manual

Page 90

Advertising
background image

DOKuStar Validation for Ascent Capture

Page

86

Table Data Output

When DOKuStar recognizes tables, the corresponding data is transported in separate files outside the Ascent Capture
data structure.

When you finally release your batch, it is important to know how to access this data.

Table data are stored in XML files. There is one file for each document, which has the same name as the image file
of the first page of the document with an extension

.tab

instead of

.tif

. For example, you could have a file name like

....\Ascent\images\0000009C\200\1.tab

. The path where an image resides can be determined in

release scripts, providing access to the table data file as well.

The table data file has the following format (DTD-Notation):

<!ELEMENT DOKuStarValidation (Tables*)>
<!ELEMENT Tables (Table*)>
<!ELEMENT Table (Rows*)>
<!ATTLIST Table Name CDATA “”>
<!ELEMENT Rows (Row*)>
<!ELEMENT Row (Cells*)>
<!ELEMENT Cells (Cell*)>
<!ELEMENT Cell EMPTY>
<!ATTLIST Cell Name CDATA “”>
<!ATTLIST Cell Value CDATA “”>

Example:

<?xml version="1.0" ?>
<DOKuStarValidation>
<Tables>

<Table Name="Table">
<Rows>
<Row>
<Cells>

<Cell Name="Position" Value="1.1.02" />
<Cell Name="Description" Value="Auswechseln von Lampen u. Startern" />
<Cell Name="SinglePrice" Value="4.10" />
<Cell Name="TotalPrice" Value="3017.60" />
<Cell Name="Quantity" Value="736,00" />
</Cells>
</Row>
<Row>
<Cells>

<Cell Name="Position" Value="1.1.03" />
<Cell Name="Description" Value="Auswechseln von Lampen u. Startern" />
<Cell Name="SinglePrice" Value="7.00" />
<Cell Name="TotalPrice" Value="3017.00" />
<Cell Name="Quantity" Value="431,00" />
</Cells>
</Row>
</Rows>
</Table>
</Tables>
</DOKuStarValidation

Advertising