Skip to main content

XML (Extensible Markup Language)

XML is a markup language used to create highly structured texts. In contrast to HTML, XML (Extensible Markup Language) is used to structure texts so clearly and logically that complex data structures, such as databases, can be mapped. XML is often used to create sitemaps.

How is Extensible Markup Language structured?

XML (Extensible Markup Language) is based on two basic principles, namely:
  • clear hierarchy
  • flexible labelling of data

In XML documents, there is always a start tag, such as [text] and the corresponding end tag, such as [/text]. Within these tags, the information is structured into a unit.

Example

This can look like this, for example:

  • [content]
  • [headline]Headline[/headline]
  • [text]The textual part[/text]
  • [/content]

Tags in detail

Tags can be named flexibly, in contrast to HTML, where each tag performs a specific function. In addition, a schema can be used to specify how a file is structured and which values are allowed.

Classification of XML documents

Documents in Extensible Markup Language format can be divided into different classes, namely:

These documents are primarily aimed at the human reader.
This type of document is primarily intended for machine processing.
This is a hybrid form in which data is structured more intensively than in document-centric documents, but more weakly than in data-centric documents.
YouTube

By loading the video, you agree to YouTube’s privacy policy.
Learn more

Load video


Do you have any more questions?

Please contact us


Further contents