Example 2 - Path - Excluding parent element
- 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>
- Configured to split at this line:
SyncSalesOrder/DataArea/SalesOrder/SalesOrderLine
- These two instances 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>
- Document with MessageID = 123456789:1 and this simplified
structure:
- This information is NOT forwarded to the next steps:
<SalesOrder> (B) <SalesOrderHeader> … </SalesOrderHeader> </SalesOrder>