even
← Back to glossary

XML

Also: Extensible Markup Language, XML-Format, XML-Schnittstelle, XML-Datei, XML-Dokument

AI-generated

In brief

XML (Extensible Markup Language) is a text-based, hierarchical data format that enables the structured exchange of information between different IT systems.

Key facts

What is XML?

XML stands for Extensible Markup Language and is a format standardized by the W3C for describing and transmitting structured data. Unlike HTML, which governs the presentation of content, XML exclusively describes the meaning and structure of data. Tags and attributes can be freely defined, which is why XML is considered extensible. This makes the format flexible enough to represent virtually any data content – from orders and delivery notes to machine parameters and master data.

An XML document consists of a root element into which all other elements are nested. This tree structure can be read, validated, and transformed by machines. To ensure data quality, schemas are used – either as a DTD (Document Type Definition) or as an XML Schema Definition (XSD). A schema defines which elements are permitted, the order in which they may appear, and which data types apply. Systems can validate incoming XML documents against a schema and reject invalid messages at the point of receipt.

XML in intralogistics and data exchange

In intralogistics, XML is encountered primarily in interfaces between ERP, WMS, and TMS systems, as well as in the integration of partners along the supply chain. Many established interface standards – such as EDIFACT mappings via XML, RosettaNet, or industry-specific formats – use XML as their underlying technology. DESADV messages are also transmitted as XML in some implementations.

Typical use cases include:

  • Transmission of order data between purchasing and suppliers
  • Advance shipping notifications and delivery announcements in goods receipt
  • Master data synchronization between ERP and WMS
  • Machine communication in conveyor systems and automated warehouses
  • Configuration files for middleware and integration layers

What matters when selecting and implementing XML

Whether XML is the right choice for an interface depends on the use case. XML is expressive and highly validatable, but generates more data volume compared to more compact formats such as JSON or binary protocols. At high message throughput – such as in real-time systems for conveyor systems – this can be a relevant factor. For exchanging complex, hierarchically structured business documents, XML remains a robust choice.

Key considerations when designing XML interfaces include schema versioning, the error-handling strategy for invalid messages, and documentation of the namespaces used. When connecting multiple systems or partners, a central schema repository is recommended to make changes traceable. Middleware solutions vary by vendor in how conveniently they support schema validation, transformation, and monitoring – this should be explicitly evaluated during system comparisons.

Frequently asked questions

Both formats serve the purpose of structured data exchange but differ in syntax and primary focus. XML is more expressive and natively supports schemas, namespaces, and attributes – making it ideal for complex business documents. JSON is more compact and widely used in web APIs. Which format is the right fit depends on the system and use case.

Related terms

Matching categories