What Is Extensible Markup Language (XML) in Travel: Definition, Meaning, Examples

XML (Extensible Markup Language)

XML (Extensible Markup Language) is a highly flexible, text-based format used to structure, store, and transport data between different computer systems. In the travel technology sector, XML served as the critical evolutionary bridge between the rigid, legacy constraints of EDIFACT and the dynamic, modern e-commerce experiences of today, serving as the foundational language for hotel distribution, car rentals, and the airline industry’s NDC (New Distribution Capability) standard.

Home
Travel Glossary
X
XML (Extensible Markup Language)

Escape from the Green Screen

To understand the value of Extensible Markup Language (XML) in travel, you have to look at what it replaced: EDIFACT.

Legacy EDIFACT messaging was designed in the 1980s to be as small as possible (e.g., sending TVL+LHR+JFK). It was incredibly fast but could only handle basic alphanumeric codes. It could not describe a complex product.

XML introduced extensibility — the ability for developers to create their own custom, human-readable tags.

Instead of a cryptic code, an XML message looks like this:

<Flight>
<Origin>LHR</Origin>
<Destination>JFK</Destination>
<Price Currency=”USD”>450.00</Price>
</Flight>

The result is that systems could suddenly transmit detailed, structured information, allowing travel agents to see rich descriptions, cancellation policies, and bundled amenities that were impossible to format in older systems.

Backbone of NDC and OpenTravel

Extensible Markup Language (XML) is the structural foundation for two massive standardization efforts in the industry:

  • OpenTravel Alliance (OTA): In the early 2000s, the hotel and car rental industries adopted XML to standardize how they talk to distributors. If an OTA (Online Travel Agency) wants to pull a room description from a hotel’s Central Reservation System (CRS), they use OTA XML standards.
  • NDC (New Distribution Capability): When IATA decided airlines needed to act like modern retailers, they built the NDC standard entirely on XML. This is what allows an airline to send an offer that includes a flight, a picture of a lounge, and a Wi-Fi package in a single data payload to a travel agency.

Verbosity Problem: XML vs. JSON

While XML is flexible, it is also notoriously heavy or verbose.

Because every piece of data requires an opening and closing tag (like <Price> and </Price>), the file sizes can become quite large. In the travel industry, where a single flight search can trigger thousands of background pricing requests, this heaviness requires immense server power and bandwidth.

Consequently, modern travel tech startups and mobile app developers are aggressively shifting away from XML (Extensible Markup Language) toward JSON (JavaScript Object Notation), which is significantly lighter, faster to parse, and better suited for mobile environments.

Frequently Asked Questions

Can an older EDIFACT system read an XML message?

No, they speak completely different languages. For a modern XML-based booking engine to communicate with a legacy airline mainframe, the data must pass through a translation layer or parser that converts the XML tags into EDIFACT codes and vice versa.

Are SOAP APIs always XML?

Yes. SOAP (Simple Object Access Protocol) is a legacy API protocol that relies exclusively on XML for its messaging format. This is why older travel connections are often referred to as SOAP/XML connections.

Is XML going away?

Not anytime soon. While JSON is the preference for new builds, massive global infrastructures (like the IATA NDC schemas and thousands of hotel channel manager connections) are deeply rooted in XML (Extensible Markup Language). It will remain a dominant data format in B2B travel distribution for years to come.

Leave your request

We will contact you shortly

    Thank you for your request!

    We will get back to you as quickly as possible