XML (eXtensible Markup Language)
A flexible text format for structuring data, human-readable and machine-readable.
XML (eXtensible Markup Language) is designed to store and transport data. Unlike HTML, which focuses on how data looks, XML focuses on what data is. It allows users to define their own tags, making it highly flexible for representing complex data structures. It is widely used for configuration files, data exchange between systems (e.g., SOAP APIs), and document formats (e.g., SVG, RSS).
graph LR
Center["XML (eXtensible Markup Language)"]:::main
Rel_json_ld["json-ld"]:::related -.-> Center
click Rel_json_ld "/terms/json-ld"
Rel_yaml["yaml"]:::related -.-> Center
click Rel_yaml "/terms/yaml"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 Explain Like I'm 5
Generated ELI5 content
🤓 Expert Deep Dive
Generated expert content
❓ Frequently Asked Questions
Is XML replacing HTML?
No, XML and HTML have different goals. HTML displays data; XML transports and stores data.
What is an XML schema?
A description of the structure of an XML document, defining valid elements and attributes.
Is JSON better than XML?
JSON is generally lighter and faster to parse, making it preferred for web APIs, while XML is more verbose but supports complex schemas and namespaces.