XML handler
Upload an XML file, apply the rules, preview changes, and download the result.
- Split the single <Movements> section into multiple <Movements> blocks (grouped by AccNo / ReqDate / ReqTime)
- Move AccNo / ReqDate / ReqTime out of each <Transit> and onto its parent <Movements>
- Convert the second SailingDate / SailingTime into ArrivalDate / ArrivalTime within each <Transit>
- Convert true/false flags (Laden, Hazardous, Livestock, Abnormal, Plugin) back to legacy Y/N (Livestock blank when false)
- Reformat numeric fields to legacy padding (e.g. weights 7 digits, counters 3 digits, dimensions scaled + zero-padded)
- Remove <NbrWaybills> (legacy format doesn’t use it)
- Remove the xmlns:custom namespace on <ShipmentNotification> to match legacy output