ArticleslgStudy

science

XML/EDIFACT

XML/EDIFACT is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand XML/EDIFACT rather than just read about it. In short: XML/EDIFACT is an Electronic Data Interchange (EDI) format used in business-to-business transactions. It allows EDIFACT message types to be used by XML systems.

XML/EDIFACT — main illustration
XML/EDIFACT — illustration

Key takeaways

  • XML/EDIFACT belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect XML/EDIFACT to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of XML/EDIFACT from memory before moving on to harder problems.

Reference excerpt

XML/EDIFACT is an Electronic Data Interchange (EDI) format used in business-to-business transactions. It allows EDIFACT message types to be used by XML systems. EDIFACT is a formal machine-readable description of electronic business documents. It uses a syntax close to delimiter separated files. This syntax was invented in the 1980s to keep files as small as possible. Because of the Internet boom around 2000, XML started to become the most widely supported file syntax. But for example, an invoice is still an invoice, containing information about buyer, seller, product, due amount. EDIFACT works perfectly from the content viewpoint, but many software systems struggle to handle its syntax. So combining EDIFACT vocabulary and grammar with XML syntax makes XML/EDIFACT. The rules for XML/EDIFACT are standardized in ISO/TS 20625:2002.

Use-cases XML/EDIFACT is used in B2B scenarios as listed below:

Newer EAI or B2B systems often cannot handle EDI (Electronic Data Interchange) syntax directly. Simple syntax converters do a 1:1 conversion before. Their input is an EDIFACT transaction file, their output an XML/EDIFACT instance file. XML/EDIFACT keeps XML B2B transactions relatively small. XML element names derived from EDIFACT tags are much shorter and more formal than those derived from natural language since they are simply expressions of the EDIFACT syntax. A company does not want to invest into new vocabularies from scratch. XML/EDIFACT reuses business content defined in UN/EDIFACT. Since 1987, the UN/EDIFACT library was enriched by global business needs for all sectors of industry, transport and public services. Large companies can order goods from small companies via XML/EDIFACT. The small companies use XSLT stylesheets to browse the message content in human readable forms, as shown in Example 3.

Example 1: EDIFACT source code A name and address (NAD) segment, containing customer ID and customer address, expressed in EDIFACT syntax:

Example 2: XML/EDIFACT source code The same information content in an XML/EDIFACT instance file:

Example 3: XML/EDIFACT in a browser The same XML/EDIFACT instance presented with help of an XSLT stylesheet:

External links "ISO/TS 20625:2002". ISO.

Worked examples

Example 1 — a first encounter with XML/EDIFACT

Start with the simplest possible case. Write down what XML/EDIFACT claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to XML/EDIFACT before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about XML/EDIFACT ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of XML/EDIFACT

In research
XML/EDIFACT appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses XML/EDIFACT in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
XML/EDIFACT is common in secondary-school and first-year university syllabi. It links to neighbouring topics Electronic data interchange, XML-based standards, so understanding it makes those chapters shorter.
In everyday life
Look for XML/EDIFACT outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “XML/EDIFACT” →

How to study XML/EDIFACT in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what XML/EDIFACT means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain XML/EDIFACT out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is XML/EDIFACT in simple terms?

XML/EDIFACT is an Electronic Data Interchange (EDI) format used in business-to-business transactions. It allows EDIFACT message types to be used by XML systems.

Why does XML/EDIFACT matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study XML/EDIFACT?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on XML/EDIFACT.

Tags

  • Electronic data interchange
  • XML-based standards

Keep exploring