Skip to main content
Definition Website Computer and Technology

Extensible Markup Language

Subject: Computer and Technology noun /ɪkˈstɛn.sə.bəl ˈmɑːrk.ʌp ˈlæŋ.ɡwɪdʒ/ 1 definition

  1. Definition (noun)

    Entry #177 · Updated

    Extensible Markup Language (XML) is a standardized text-based markup language and metalanguage that encodes hierarchical data using custom, self-describing tags. Unlike HTML, which relies on a predefined tag set for display, XML lets authors define domain-specific vocabularies while enforcing strict syntax rules such as a single root element, quoted attributes, and properly closed and nested tags. By separating data structure from visual presentation and platform-specific encodings, it provides a portable format for storing, validating, and exchanging structured information across disparate systems.

    Common Forms

    • Well-Formed XML: Syntax-compliant XML with a single root element, properly nested and closed tags, and quoted attribute values, enabling any standard parser to read the document tree without an external schema.

    • Valid XML: Well-formed XML verified against a formal grammar—such as a Document Type Definition (DTD), XML Schema (XSD), or RELAX NG—to enforce element hierarchy, cardinality, and data types.

    • Domain-Specific Vocabularies: Standardized XML dialects tailored to specialized fields, including Scalable Vector Graphics (SVG) for 2D vector imagery, RSS for web syndication feeds, and SOAP for enterprise messaging.

    • Configuration and Build Manifests: Structured XML files used to declare project dependencies, build targets, and runtime permissions in software ecosystems such as Apache Maven (pom.xml) and Android (AndroidManifest.xml).

    Example

    A billing service receives a vendor order encoded in XML using elements like <order id="ORD-4092"> and <total currency="USD">149.95</total>, then validates the document against an XSD schema before committing it to the database. If a closing </total> tag is missing or the currency code violates the schema pattern, the parser immediately rejects the payload instead of processing malformed financial data.