BizTalk 将具有多个标题的批处理输入平面文件拆分为多个文件。

huangapple go评论41阅读模式
英文:

BizTalk Debatch Input FlatFile with multiple header to multiple file

问题

I have a requirement where i want to debatch the Below sample file into multiple file without using orchestration,

我有一个要求,我想要将下面的示例文件拆分成多个文件,而不使用编排,

Sample

示例

H|3|ABC|1|5/10/2023
D|1|543
D|1|543
H|3|ABC|1|5/10/2023
D|1|543
D|1|543

The XSD which i have written for the above sample is ,

我为上述示例编写的XSD如下,

<xs:schema xmlns="http://FlatFileSchema1" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://FlatFileSchema1" xmlns:xs="http://www.w3.org/2001/XMLSchema">

</xs:schema>

The Above schema is validating with the sample, my requirement is to debatch it in pipeline without using orchestration. When i tested this with the pipeline i am able to get the output not the debatched output. Appreciate any help

上述模式正在与示例进行验证,我的要求是在管道中对其进行解批处理,而不使用编排。当我使用管道进行测试时,我能够得到输出,但不是解批处理的输出。感谢任何帮助。

英文:

I have a requirement where i want to debatch the Below sample file into multiple file without using orchestration ,

Sample

H|3|ABC|1|5/10/2023
D|1|543
D|1|543
H|3|ABC|1|5/10/2023
D|1|543
D|1|543

The XSD which i have written for the above sample is ,

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;
&lt;xs:schema xmlns=&quot;http://FlatFileSchema1&quot; xmlns:b=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; targetNamespace=&quot;http://FlatFileSchema1&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;schemaEditorExtension:schemaInfo namespaceAlias=&quot;b&quot; extensionClass=&quot;Microsoft.BizTalk.FlatFileExtension.FlatFileExtension&quot; standardName=&quot;Flat File&quot; xmlns:schemaEditorExtension=&quot;http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions&quot; /&gt;
&lt;b:schemaInfo standard=&quot;Flat File&quot; codepage=&quot;65001&quot; default_pad_char=&quot; &quot; pad_char_type=&quot;char&quot; count_positions_by_byte=&quot;false&quot; parser_optimization=&quot;speed&quot; lookahead_depth=&quot;3&quot; suppress_empty_nodes=&quot;false&quot; generate_empty_nodes=&quot;true&quot; allow_early_termination=&quot;false&quot; early_terminate_optional_fields=&quot;false&quot; allow_message_breakup_of_infix_root=&quot;false&quot; compile_parse_tables=&quot;false&quot; root_reference=&quot;Root&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element name=&quot;Root&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:recordInfo structure=&quot;delimited&quot; child_delimiter_type=&quot;hex&quot; child_delimiter=&quot;0xD 0xA&quot; child_order=&quot;postfix&quot; sequence_number=&quot;1&quot; preserve_delimiter_for_empty_data=&quot;true&quot; suppress_trailing_delimiters=&quot;false&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;groupInfo sequence_number=&quot;0&quot; xmlns=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element maxOccurs=&quot;unbounded&quot; name=&quot;Record&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;recordInfo sequence_number=&quot;1&quot; structure=&quot;delimited&quot; preserve_delimiter_for_empty_data=&quot;true&quot; suppress_trailing_delimiters=&quot;false&quot; child_delimiter_type=&quot;hex&quot; child_delimiter=&quot;0x0D 0x0A&quot; xmlns=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; child_order=&quot;infix&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence minOccurs=&quot;0&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;groupInfo sequence_number=&quot;0&quot; xmlns=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element name=&quot;Header&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:recordInfo structure=&quot;delimited&quot; child_delimiter_type=&quot;char&quot; child_delimiter=&quot;|&quot; child_order=&quot;infix&quot; preserve_delimiter_for_empty_data=&quot;true&quot; suppress_trailing_delimiters=&quot;false&quot; sequence_number=&quot;1&quot; tag_name=&quot;H&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;groupInfo sequence_number=&quot;0&quot; xmlns=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element name=&quot;Root_Child1_Child1&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;1&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child1_Child2&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;2&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child1_Child3&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;3&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child1_Child4&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;4&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child1_Child5&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;5&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;xs:element maxOccurs=&quot;unbounded&quot; name=&quot;Detail&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:recordInfo structure=&quot;delimited&quot; child_delimiter_type=&quot;char&quot; child_delimiter=&quot;|&quot; child_order=&quot;infix&quot; preserve_delimiter_for_empty_data=&quot;true&quot; suppress_trailing_delimiters=&quot;false&quot; sequence_number=&quot;2&quot; tag_name=&quot;D&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;groupInfo sequence_number=&quot;0&quot; xmlns=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element name=&quot;Root_Child2_Child1&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;1&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child2_Child2&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;2&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child2_Child3&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;3&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;/xs:schema&gt;

The Above schema is validating with the sample , my requirement is to debatch it in pipeline without using orchestration. When i tested this with the pipeline i am able to get the output not the debatched output. Appreciate any help

答案1

得分: 1

Here is the translated content:

如果您想要对扁平文件进行拆批处理,您需要创建模式以仅匹配要进行拆批处理的部分,而不是整个文件。

您需要将标头和详细信息直接放在根节点下,而不是在其下具有“记录”节点,该节点下包含标头和详细信息。

BizTalk 将具有多个标题的批处理输入平面文件拆分为多个文件。

当您在Visual Studio中针对示例进行测试时,应该只获得一个标头和两个详细信息行。

因此,模式将如下所示:

<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns="http://FlatFileSchema1" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://FlatFileSchema1" 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="speed" 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="Root" />
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Root">
    <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 name="Header">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo structure="delimited" child_delimiter_type="char" child_delimiter="|" child_order="infix" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" tag_name="H" sequence_number="1" />
            </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="Root_Child1_Child1" type="xs:string">
                <xs:annotation>
                  <xs:appinfo>
                    <b:fieldInfo justification="left" sequence_number="1" />
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="Root_Child1_Child2" type="xs:string">
                <xs:annotation>
                  <xs:appinfo>
                    <b:fieldInfo justification="left" sequence_number="2" />
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="Root_Child1_Child3" type="xs:string">
                <xs:annotation>
                  <xs:appinfo>
                    <b:fieldInfo justification="left" sequence_number="3" />
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="Root_Child1_Child4" type="xs:string">
                <xs:annotation>
                  <xs:appinfo>
                    <b:fieldInfo justification="left" sequence_number="4" />
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="Root_Child1_Child5" type="xs:string">
                <xs:annotation>
                  <xs:appinfo>
                    <b:fieldInfo justification="left" sequence_number="5" />
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element maxOccurs="unbounded" name="Detail">
          <xs:annotation>
            <xs:appinfo>
              <b:recordInfo structure="delimited" child_delimiter_type="char" child_delimiter="|" child_order="infix" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" tag_name="D" sequence_number="2" />
            </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="Root_Child2_Child1" type="xs:string">
                <xs:annotation>
                  <xs:appinfo>
                    <b:fieldInfo justification="left" sequence_number="1" />
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="Root_Child2_Child2" type="xs:string">
                <xs:annotation>
                  <xs:appinfo>
                    <b:fieldInfo justification="left" sequence_number="2" />
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
              <xs:element name="Root_Child2_Child3" type="xs:string">
                <xs:annotation>
                  <xs:appinfo>
                    <b:fieldInfo justification="left" sequence_number="3" />
                  </xs:appinfo>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

如果您将其放在Flat File Pipeline中,并将文件传递过去,它将进行拆批处理,您将获得两条消息。

英文:

If you want a flat file to debatch, you have to create the schema so that only matches the one section you want to debatch on, you have tried to match the whole file.

You need to have the Header and Detail directly under the Root, rather than having a "Record" node under which the Header and Detail are.

BizTalk 将具有多个标题的批处理输入平面文件拆分为多个文件。

And when you test against your example in Visual Studio you should only get one header and two detail lines.

&lt;Root xmlns=&quot;http://FlatFileSchema1&quot;&gt;
&lt;Header xmlns=&quot;&quot;&gt;
&lt;Root_Child1_Child1/&gt;
&lt;Root_Child1_Child2&gt;3&lt;/Root_Child1_Child2&gt;
&lt;Root_Child1_Child3&gt;ABC&lt;/Root_Child1_Child3&gt;
&lt;Root_Child1_Child4&gt;1&lt;/Root_Child1_Child4&gt;
&lt;Root_Child1_Child5&gt;5/10/2023&lt;/Root_Child1_Child5&gt;
&lt;/Header&gt;
&lt;Detail xmlns=&quot;&quot;&gt;
&lt;Root_Child2_Child1/&gt;
&lt;Root_Child2_Child2&gt;1&lt;/Root_Child2_Child2&gt;
&lt;Root_Child2_Child3&gt;543&lt;/Root_Child2_Child3&gt;
&lt;/Detail&gt;
&lt;Detail xmlns=&quot;&quot;&gt;
&lt;Root_Child2_Child1/&gt;
&lt;Root_Child2_Child2&gt;1&lt;/Root_Child2_Child2&gt;
&lt;Root_Child2_Child3&gt;543&lt;/Root_Child2_Child3&gt;
&lt;/Detail&gt;
&lt;/Root&gt;

So the schema will be like this

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;
&lt;xs:schema xmlns=&quot;http://FlatFileSchema1&quot; xmlns:b=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; targetNamespace=&quot;http://FlatFileSchema1&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;schemaEditorExtension:schemaInfo namespaceAlias=&quot;b&quot; extensionClass=&quot;Microsoft.BizTalk.FlatFileExtension.FlatFileExtension&quot; standardName=&quot;Flat File&quot; xmlns:schemaEditorExtension=&quot;http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions&quot; /&gt;
&lt;b:schemaInfo standard=&quot;Flat File&quot; codepage=&quot;65001&quot; default_pad_char=&quot; &quot; pad_char_type=&quot;char&quot; count_positions_by_byte=&quot;false&quot; parser_optimization=&quot;speed&quot; lookahead_depth=&quot;3&quot; suppress_empty_nodes=&quot;false&quot; generate_empty_nodes=&quot;true&quot; allow_early_termination=&quot;false&quot; early_terminate_optional_fields=&quot;false&quot; allow_message_breakup_of_infix_root=&quot;false&quot; compile_parse_tables=&quot;false&quot; root_reference=&quot;Root&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element name=&quot;Root&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:recordInfo structure=&quot;delimited&quot; child_delimiter_type=&quot;hex&quot; child_delimiter=&quot;0xD 0xA&quot; child_order=&quot;postfix&quot; sequence_number=&quot;1&quot; preserve_delimiter_for_empty_data=&quot;true&quot; suppress_trailing_delimiters=&quot;false&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;groupInfo sequence_number=&quot;0&quot; xmlns=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element name=&quot;Header&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:recordInfo structure=&quot;delimited&quot; child_delimiter_type=&quot;char&quot; child_delimiter=&quot;|&quot; child_order=&quot;infix&quot; preserve_delimiter_for_empty_data=&quot;true&quot; suppress_trailing_delimiters=&quot;false&quot; tag_name=&quot;H&quot; sequence_number=&quot;1&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;groupInfo sequence_number=&quot;0&quot; xmlns=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element name=&quot;Root_Child1_Child1&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;1&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child1_Child2&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;2&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child1_Child3&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;3&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child1_Child4&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;4&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child1_Child5&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;5&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;xs:element maxOccurs=&quot;unbounded&quot; name=&quot;Detail&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:recordInfo structure=&quot;delimited&quot; child_delimiter_type=&quot;char&quot; child_delimiter=&quot;|&quot; child_order=&quot;infix&quot; preserve_delimiter_for_empty_data=&quot;true&quot; suppress_trailing_delimiters=&quot;false&quot; tag_name=&quot;D&quot; sequence_number=&quot;2&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;groupInfo sequence_number=&quot;0&quot; xmlns=&quot;http://schemas.microsoft.com/BizTalk/2003&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;xs:element name=&quot;Root_Child2_Child1&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;1&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child2_Child2&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;2&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;Root_Child2_Child3&quot; type=&quot;xs:string&quot;&gt;
&lt;xs:annotation&gt;
&lt;xs:appinfo&gt;
&lt;b:fieldInfo justification=&quot;left&quot; sequence_number=&quot;3&quot; /&gt;
&lt;/xs:appinfo&gt;
&lt;/xs:annotation&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;/xs:schema&gt;

If you then have that in a Flat File Pipeline, and drop your file through, it will debatch and you will get two messages.

huangapple
  • 本文由 发表于 2023年5月17日 12:09:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/76268497.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定