Final output sample

This transformation results in this final output:

<?xml version="1.0" encoding="utf-8"?>
<SyncPurchaseOrder xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <ApplicationArea>
    <Sender>
      <LogicalID>infor.file.read</LogicalID>
      <ComponentID>External</ComponentID>
      <ConfirmationCode>OnError</ConfirmationCode>
    </Sender>
    <CreationDateTime>2014-12-09T11:00:28.521Z</CreationDateTime>
    <BODID>infor.file.read:1418122828521:10a4be73-3377-4555-a017-52e911e4b88b</BODID>
  </ApplicationArea>
  <DataArea>
    <Sync>
      <TenantID>INFOR</TenantID>
      <AccountingEntityID />
      <LocationID />
      <ActionCriteria>
        <ActionExpression actionCode="Replace" />
      </ActionCriteria>
    </Sync>
    <PurchaseOrder>
      <PurchaseOrderHeader>
        <DocumentID>po123</DocumentID>
        <SupplierParty>
          <Name>ACME_Electronics</Name>
        </SupplierParty>
        <BaseCurrencyAmount>
          <Amount CurrencyID="EUR">5000</Amount>
        </BaseCurrencyAmount>
      </PurchaseOrderHeader>
      <PurchaseOrderLine>
        <ItemID>501</ItemID>
        <Description>Computers</Description>
        <Quantity>2</Quantity>
      </PurchaseOrderLine>
      <PurchaseOrderLine>
        <ItemID>502</ItemID>
        <Description>Printers</Description>
        <Quantity>3</Quantity>
      </PurchaseOrderLine>
    </PurchaseOrder>
    <PurchaseOrder>
      <PurchaseOrderHeader>
        <DocumentID>po234</DocumentID>
        <SupplierParty>
          <Name>ACME Furnitures</Name>
        </SupplierParty>
        <BaseCurrencyAmount>
          <Amount CurrencyID="USD">2000</Amount>
        </BaseCurrencyAmount>
      </PurchaseOrderHeader>
      <PurchaseOrderLine>
        <ItemID>601</ItemID>
        <Description>Tables</Description>
        <Quantity>1</Quantity>
      </PurchaseOrderLine>
      <PurchaseOrderLine>
        <ItemID>602</ItemID>
        <Description>Chairs</Description>
        <Quantity>4</Quantity>
      </PurchaseOrderLine>
    </PurchaseOrder>
  </DataArea>
</SyncPurchaseOrder>