XML-файл описания документов
|
Пример XML-файла описания (кодировка UTF-8 или Windows-1251 )
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<DATAPACKET Version="2.0">
<METADATA>
<FIELDS>
<FIELD attrname="id_author"
fieldtype="string" WIDTH= "46"/>
<FIELD attrname="id_recipient" fieldtype="string" WIDTH=
"46"/>
<FIELD attrname="file_address"
fieldtype="string" WIDTH="255"/>
<FIELD
attrname="file_address_sig" fieldtype="string" WIDTH="255"/>
<FIELD attrname="file_address_cer"
fieldtype="string" WIDTH="255"/>
<FIELD attrname="file_name"
fieldtype="string" WIDTH="255"/>
<FIELD attrname="file_guid"
fieldtype="string" WIDTH="36"/>
<FIELD attrname="file_comment"
fieldtype="string" WIDTH="150"/>
<FIELD attrname="parent_guid"
fieldtype="string" WIDTH="36"/>
<FIELD attrname="parent_type"
fieldtype="i4"/>
<FIELD attrname="file_sha1" fieldtype="string"
WIDTH="40"/>
<FIELD attrname="file_size" fieldtype="i4"/>
<FIELD attrname="id_doctype" fieldtype="i4"/>
<FIELD
attrname="primedoctype" fieldtype="i4"/>
<FIELD attrname="use_crypt"
fieldtype="i4"/>
<FIELD attrname="use_sig" fieldtype="i4"/>
<FIELD attrname="use_zip" fieldtype="i4"/>
<FIELD
attrname="request_sig" fieldtype="i4"/>
<FIELD attrname="resultcode"
fieldtype="i4"/>
<FIELD attrname="resultmsg" fieldtype="string"
WIDTH="1000"/>
<FIELD attrname="dt_send"
fieldtype="dateTime"/>
<FIELD attrname="doc_date"
fieldtype="date"/>
<FIELD attrname="doc_number" fieldtype= "string" WIDTH=
"50"/>
<FIELD attrname="doc_sum" fieldtype="string"
WIDTH="20"/>
</FIELDS>
<PARAMS/>
</METADATA>
<ROWDATA>
<ROW
file_address="C:\Monitoring\CF1\out\2016\09\03\Биллинг ЭДО201608-2.xml"
file_address_sig="C:\Monitoring\CF1\out\2016\09\03\Биллинг ЭДО201608-2.xml.sig"
file_name="Биллинг ЭДО201608-2.xml"
file_guid="74EADCE5-0102-4478-9900-8FB1FED0E34D" primedoctype="80" use_sig="1"
id_author="2hx10993" id_recipient="2hx11190" doc_date="20160902"
doc_number="123тест.проверка" doc_summ="123.45" />
<ROW file_address="C:\EDI\AKT\2012\DP_IAKTPRM_test.xml" primedoctype="30" id_author="2hx112" id_recipient="2hx10077" file_name="DP_IAKTPRM_2hx10077_2hx112_20121022_22362CCE-7FEE-41E8-A2E7-1B95B4485DE5.xml" file_guid= "22362CCE-7FEE-41E8-A2E7-1B95B4485DE5"/>
<ROW file_address="C:\EDI\AKT\2012\DP_ZAKTPRM_2.xml" id_recipient="2hx112" parent_type="30" primedoctype="31" file_name="DP_ZAKTPRM_2hx10077_2hx112_20121012_36C62CCE-7FEE-41E8-A2E7-1B95B4485D55.xml" file_guid="36C62CCE-7FEE-41E8-A2E7-1B95B4485D55" parent_guid="22362CCE-7FEE-41E8-A2E7-1B95B4485DE5" />
</ROWDATA>
</DATAPACKET>