Example 2 - Excluding parent element

  1. Input document with multiple parent elements:
    <SyncSalesOrder>
    	<ApplicationArea> … </ApplicationArea>
    	<DataArea>
    		<Sync> … <Sync>
    		<SalesOrder> (A)
    			<SalesOrderHeader> … </SalesOrderHeader>
    			<SalesOrderLine> … </SalesOrderLine>(1)
    			<SalesOrderLine> … </SalesOrderLine>(2)
    		</SalesOrder>
    		<SalesOrder> (B)
    			<SalesOrderHeader> … </SalesOrderHeader>
    		</SalesOrder>
    	</DataArea>
    </SyncSalesOrder>
    
  2. Configured to split at this line:

    SyncSalesOrder/DataArea/SalesOrder/SalesOrderLine

  3. These two insances of SalesOrderLine element are found:
    • Document with MessageID = 123456789:1 and this simplified structure:
      <SyncSalesOrder>
      	<ApplicationArea> … </ApplicationArea>
      	<DataArea>
      		<Sync> … <Sync>
      		<SalesOrder> (A)
      			<SalesOrderHeader> … </SalesOrderHeader>
      			<SalesOrderLine> … </SalesOrderLine>(1)
      		</SalesOrder>
      	</DataArea>
      </SyncSalesOrder>
      
    • Document with MessageID = 123456789:2 and this simplified structure:
      <SyncSalesOrder>
      	<ApplicationArea> … </ApplicationArea>
      	<DataArea>
      		<Sync> … <Sync>
      		<SalesOrder> (A)
      			<SalesOrderHeader> … </SalesOrderHeader>
      			<SalesOrderLine> … </SalesOrderLine>(2)
      		</SalesOrder>
      	</DataArea>
      </SyncSalesOrder>
      
  4. This information is NOT forwarded to the next steps:
    <SalesOrder> (B)
    			<SalesOrderHeader> … </SalesOrderHeader>
    		</SalesOrder>