StreamIN samples > Creating FieldIN samples

Creating FieldIN samples
For FieldIN data, you must create the sample file manually.
Example 8
<?xml version="1.0"?>
<strsdictionary version="2.0" name="Invoice">
<field id="HEADER_Invoice_no"/>
<field id="HEADER_Your_ref"/>
<block id="Article Block">
<field id="ARTICLE_Pos_no"/>
<field id="ARTICLE_Item"/>
<field id="ARTICLE_Price"/>
<block id="Text">
<field id="ARTICLE_Text"/>
</block>
</block>
<field id="AMOUNT_To_pay"/>
<field id="AMOUNT_Currency"/>
<field id="FREETEXT_Free_Text"/>
</strsdictionary>
 
Creating a sample file using a text editor
You can create the sample file using a text editor. The sample file must conform to the following DTD:
www.streamserve.com/strs-xml/strsdictionary.dtd
The following characters must be escaped:
"\w" (only required for leading and trailing spaces).
"\t" (always required to differentiate between space and tab).
Creating a sample file using the StreamIN tool
You can create a StreamIN structure manually in the StreamIN tool by adding blocks and fields to the Message tree. You can then save this structure as a sample file resource in the appropriate resource set.
1
2
Select File > Save Message Definition. The Select Resource dialog box opens.
3
OpenText StreamServe 5.6 Updated: 2013-03-01