2016-09-26 49 views
0

我有一個平面文件輸入,看起來像這樣:如何停止平面文件拆裝debatching

D1~0000002~917~NEGS515968~NEFS1606091~09062016~Some Random Company ~33330~ 
D2~0000003~NEFS1606091~1~~~0~0~NEGS~AC40010~54110~C90~0000~00~0000~33330~EXEMPT~0~~~~~~~~~~~ 
D1~0000004~2112~NEGS518497~NEFS1606091~09062016~Another random company~6890~ 
D2~0000005~NEFS1606091~1~~~0~0~NEGS~AC40010~54110~C90~0000~00~0000~6890~EXEMPT~0~~~~~~~~~~~ 

有兩種記錄類型,由第1列表示 - 無論是「D1」或「D2」 。

我用嚮導定義以下平面文件架構:

<?xml version="1.0" encoding="utf-16"?> 
<xs:schema xmlns="http://Random.Unit4.Supplier.Schemas.Suppliers.NegsFF" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://Random.Unit4.Supplier.Schemas.Suppliers.NegsFF" xmlns:xs="http://www.w3.org/2001/XMLSchema"> 
    <xs:annotation> 
    <xs:appinfo> 
     <schemaEditorExtension:schemaInfo namespaceAlias="b" extensionClass="Microsoft.BizTalk.FlatFileExtension.FlatFileExtension" standardName="Flat File" xmlns:schemaEditorExtension="http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions" /> 
     <b:schemaInfo standard="Flat File" codepage="65001" default_pad_char=" " pad_char_type="char" count_positions_by_byte="false" parser_optimization="complexity" lookahead_depth="3" suppress_empty_nodes="false" generate_empty_nodes="true" allow_early_termination="false" early_terminate_optional_fields="false" allow_message_breakup_of_infix_root="false" compile_parse_tables="false" root_reference="NegsFF" /> 
    </xs:appinfo> 
    </xs:annotation> 
    <xs:element name="NegsFF"> 
    <xs:annotation> 
     <xs:appinfo> 
     <b:recordInfo structure="delimited" child_delimiter_type="hex" child_delimiter="0xD 0xA" child_order="postfix" sequence_number="1" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" /> 
     </xs:appinfo> 
    </xs:annotation> 
    <xs:complexType> 
     <xs:sequence> 
     <xs:annotation> 
      <xs:appinfo> 
      <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" /> 
      </xs:appinfo> 
     </xs:annotation> 
     <xs:element minOccurs="1" maxOccurs="unbounded" name="DataRecType1"> 
      <xs:annotation> 
      <xs:appinfo> 
       <b:recordInfo tag_name="D1" structure="delimited" child_delimiter_type="char" child_delimiter="~" child_order="prefix" sequence_number="1" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" /> 
      </xs:appinfo> 
      </xs:annotation> 
      <xs:complexType> 
      <xs:sequence> 
       <xs:annotation> 
       <xs:appinfo> 
        <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" /> 
       </xs:appinfo> 
       </xs:annotation> 
       <xs:element name="SequenceNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="1" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="OracleSupplierNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="2" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="AlternateSiteName" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="3" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="4" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceDate" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="5" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceHeaderDesc" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="6" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="AmountGrossInvoice" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="7" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank1" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="8" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
      </xs:sequence> 
      </xs:complexType> 
     </xs:element> 
     <xs:element minOccurs="1" maxOccurs="unbounded" name="DataRecType2"> 
      <xs:annotation> 
      <xs:appinfo> 
       <b:recordInfo tag_name="D2" structure="delimited" child_delimiter_type="char" child_delimiter="~" child_order="prefix" sequence_number="2" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" /> 
      </xs:appinfo> 
      </xs:annotation> 
      <xs:complexType> 
      <xs:sequence> 
       <xs:annotation> 
       <xs:appinfo> 
        <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" /> 
       </xs:appinfo> 
       </xs:annotation> 
       <xs:element name="SequenceNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="1" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="2" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceLineNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="3" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank1" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="4" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank2" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="5" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="QuantityInvoiced" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="6" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="UnitPrice" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="7" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceLineDesc" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="8" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="CostCentre" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="9" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Subjective" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="10" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Objective" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="11" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="ProjectGroup" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="12" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Balancing" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="13" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank3" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="14" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="AmountGrossLine" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="15" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="VatCode" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="16" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank4" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="17" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank5" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="18" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank6" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="19" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank7" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="20" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank8" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="21" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank9" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="22" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank10" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="23" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank11" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="24" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank12" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="25" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank13" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="26" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank14" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="27" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank15" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="28" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
      </xs:sequence> 
      </xs:complexType> 
     </xs:element> 
     </xs:sequence> 
    </xs:complexType> 
    </xs:element> 
</xs:schema> 

現在,如果我從內VS右鍵單擊平面文件架構,並選擇驗證實例,所創建的XML包含只有一條記錄 - 即使輸入平面文件包含多個D1和D2記錄。如果我構建並部署到BizTalk中,那麼當我通過接收位置推送消息時,該文件將被解析並獲得兩個XML輸出文件。

我曾經認爲通過將「DataType1」和「DataType2」記錄元素的「Max Occurs」屬性設置爲「unbounded」,可以防止出現錯誤。任何人都可以看到我錯了嗎?

回答

1

你的問題是,你對DataRecType1 & DataRecType2並作爲序列,這意味着它預計1對多DataRecType1,然後1對多DataRecType2的一部分定義的重複(maxOccurs的)。

例如

D1~0000002~917~NEGS515968~NEFS1606091~09062016~Some Random Company ~33330~ 
D1~0000004~2112~NEGS518497~NEFS1606091~09062016~Another random company~6890~ 
D2~0000003~NEFS1606091~1~~~0~0~NEGS~AC40010~54110~C90~0000~00~0000~33330~EXEMPT~0~~~~~~~~~~~ 
D2~0000005~NEFS1606091~1~~~0~0~NEGS~AC40010~54110~C90~0000~00~0000~6890~EXEMPT~0~~~~~~~~~~~ 

你要麼需要有一個既有DataRecType1 & DataRecType2一個重複記錄或有希望無論是DataRecType1或DataRecType2一個重複選擇節點。

通過更改NegsFF有組最高爲此發生設置爲無限和設置集團訂單類型序列選擇適當。

<?xml version="1.0" encoding="utf-16"?> 
<xs:schema xmlns="http://Random.Unit4.Supplier.Schemas.Suppliers.NegsFF" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://Random.Unit4.Supplier.Schemas.Suppliers.NegsFF" xmlns:xs="http://www.w3.org/2001/XMLSchema"> 
    <xs:annotation> 
    <xs:appinfo> 
     <schemaEditorExtension:schemaInfo namespaceAlias="b" extensionClass="Microsoft.BizTalk.FlatFileExtension.FlatFileExtension" standardName="Flat File" xmlns:schemaEditorExtension="http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions" /> 
     <b:schemaInfo standard="Flat File" codepage="65001" default_pad_char=" " pad_char_type="char" count_positions_by_byte="false" parser_optimization="complexity" lookahead_depth="3" suppress_empty_nodes="false" generate_empty_nodes="true" allow_early_termination="false" early_terminate_optional_fields="false" allow_message_breakup_of_infix_root="false" compile_parse_tables="false" root_reference="NegsFF" /> 
    </xs:appinfo> 
    </xs:annotation> 
    <xs:element name="NegsFF"> 
    <xs:annotation> 
     <xs:appinfo> 
     <b:recordInfo structure="delimited" child_delimiter_type="hex" child_delimiter="0xD 0xA" child_order="postfix" sequence_number="1" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" /> 
     </xs:appinfo> 
    </xs:annotation> 
    <xs:complexType> 
     <xs:sequence minOccurs="1" maxOccurs="unbounded"> 
     <xs:annotation> 
      <xs:appinfo> 
      <b:groupInfo sequence_number="0" /> 
      </xs:appinfo> 
     </xs:annotation> 
     <xs:element minOccurs="1" maxOccurs="unbounded" name="DataRecType1"> 
      <xs:annotation> 
      <xs:appinfo> 
       <b:recordInfo tag_name="D1" structure="delimited" child_delimiter_type="char" child_delimiter="~" child_order="prefix" sequence_number="1" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" /> 
      </xs:appinfo> 
      </xs:annotation> 
      <xs:complexType> 
      <xs:sequence> 
       <xs:annotation> 
       <xs:appinfo> 
        <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" /> 
       </xs:appinfo> 
       </xs:annotation> 
       <xs:element name="SequenceNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="1" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="OracleSupplierNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="2" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="AlternateSiteName" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="3" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="4" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceDate" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="5" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceHeaderDesc" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="6" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="AmountGrossInvoice" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="7" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank1" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="8" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
      </xs:sequence> 
      </xs:complexType> 
     </xs:element> 
     <xs:element minOccurs="1" maxOccurs="unbounded" name="DataRecType2"> 
      <xs:annotation> 
      <xs:appinfo> 
       <b:recordInfo tag_name="D2" structure="delimited" child_delimiter_type="char" child_delimiter="~" child_order="prefix" sequence_number="2" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" /> 
      </xs:appinfo> 
      </xs:annotation> 
      <xs:complexType> 
      <xs:sequence> 
       <xs:annotation> 
       <xs:appinfo> 
        <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" /> 
       </xs:appinfo> 
       </xs:annotation> 
       <xs:element name="SequenceNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="1" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="2" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceLineNumber" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="3" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank1" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="4" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank2" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="5" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="QuantityInvoiced" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="6" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="UnitPrice" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="7" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="InvoiceLineDesc" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="8" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="CostCentre" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="9" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Subjective" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="10" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Objective" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="11" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="ProjectGroup" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="12" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Balancing" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="13" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank3" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="14" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="AmountGrossLine" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="15" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="VatCode" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo justification="left" sequence_number="16" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank4" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="17" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank5" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="18" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank6" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="19" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank7" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="20" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank8" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="21" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank9" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="22" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank10" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="23" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank11" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="24" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank12" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="25" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank13" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="26" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank14" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="27" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
       <xs:element name="Blank15" type="xs:string"> 
       <xs:annotation> 
        <xs:appinfo> 
        <b:fieldInfo sequence_number="28" justification="left" /> 
        </xs:appinfo> 
       </xs:annotation> 
       </xs:element> 
      </xs:sequence> 
      </xs:complexType> 
     </xs:element> 
     </xs:sequence> 
    </xs:complexType> 
    </xs:element> 
</xs:schema> 
+0

完美!非常感謝科林。 –