Binary File Data Source Example

This page gives an example config for using a binary file as a source

Table of Contents

1. Connections UI Example

2. XML Example

This example XML uses the following values:

2.1 Blank XML Example

     <BinaryDataSource source="SOURCE" path="PATH" headerRowsToIgnore="" footerRowsToIgnore="" encoding="ENCODING">
        <Schema>
            <Column name="SOURCE_COLUMN_NAME" dataType="DATA_TYPE" trimWhitespace="WHITESPACE" isMandatory="IS_MANDATARY" validateData="VALIDATE_DATA" parseContentBy="PARSE" length="LENGTH"/>
        </Schema>
    </BinaryDataSource>

2.2 Populated XML Example

     <BinaryDataSource source="PATH" path="@filePath" headerRowsToIgnore="1" footerRowsToIgnore="1" encoding="UTF8">
        <Schema>
            <Column name="Name" dataType="Text" trimWhitespace="true" isMandatory="false" validateData="false" parseContentBy="ByteLength" length="9"/>
        </Schema>
    </BinaryDataSource>

Last updated