XML vocabulary
Attributes
Attributes contain data related to specific elements in key-value pairs.
Content
Data stored in between markup tags.
Element
Tags and the content within tags.
Namespaces
Namespaces help uniquely identify tags. The namespace acts as a "prefix" to a tag.
Example
<education:onlineCourse>
Tags
Markup that holds content. Tags start with <
and, usually, end with />
.
XML
A markup language for structured data. XML is similar to HTML, but does not have predefined tags.
Sources
- MDN Web Docs
- Learn API Technical Writing: JSON and XML for Writers by Peter Gruenbaum
- W3 Schools