Example of the LPtransXml

This is an example of one of our standard XML formats, used by the LPtrans TMS system

Tag name translation can be implemented through param 'orderOutputXlat'. Format of the params content:
tagName=tagNameNew
...


<orderData>
 <orders>
  <order>
   <customerID>1234</customerID>
   <orderReference>ref121212</orderReference>
   <orderDate>2012-02-23</orderDate>
   <orderName>Demo user</orderName>
   <orderCity>Amsterdam</orderCity>
   <orderCountry>Netherlands</orderCountry>
   <orderEmail>demo@loginet.nl</orderEmail>
   <shipments>
    <shipment>
     <deliveryType>Normal delivery</deliveryType>
     <pickupName>Pick-up Ltd</pickupName>
     <pickupCity>AMSTERDAM</pickupCity>
     <pickupDate>23-02-12</pickupDate>
     <deliveryName>Delivery Ltd</deliveryName>
     <deliveryCity>Rotterdam</deliveryCity>
     <deliveryDate>24-02-12</deliveryDate>
     <deliveryTime>15:00</deliveryTime>
     <goodsLines>
      <goodsLine>
       <quantity>1</quantity>
       <packing>pallet</packing>
       <weight>100</weight>
      </goodsLine>
     </goodsLines>
    </shipment>
   </shipments>
  </order>
 </orders>
</orderData>

-- HenkRoelofs - 2012-02-24

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2013-03-12 - HenkRoelofs
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback