{"id":14035,"date":"2021-09-20T10:49:26","date_gmt":"2021-09-20T08:49:26","guid":{"rendered":"https:\/\/dans.knaw.nl\/file-formats\/markup-language\/xml\/"},"modified":"2021-09-20T10:49:27","modified_gmt":"2021-09-20T08:49:27","slug":"xml","status":"publish","type":"page","link":"https:\/\/dans.knaw.nl\/en\/file-formats\/markup-language\/xml\/","title":{"rendered":"XML"},"content":{"rendered":"<p>XML (eXtensible Markup Language) is a generic markup language designed by the World Wide Web Consortium (W3C) and is used in XML documents, a class of data objects that describe the behavior of algorithms through which they are processed. XML is an application profile and a limited form of SGML (Standard Generalized Markup Language).<br \/>The format of XML is in its most basic aspects the same as plain text, which makes XML readable for people. As the complexity increases, readability decreases and we depend on specialized applications for interpretation. This means that the possibilities for preserving XML over a longer period of time depend on the degree of complexity on the one hand and the availability of those specialized applications on the other.<\/p>\n<p>XML document<br \/>An XML document contains one or more elements within one root element. Each element consists of a start tag and an end tag or is an empty element. Between the start and end tag is the content of the element, which can consist of text and \/ or child elements. An element can contain a set of attributes that consist of a name and (text) value.<br \/>The structure of a valid XML document can be validated on syntax. An example of an online&nbsp;<em>validator<\/em>&nbsp;is the W3C&nbsp;<em>Markup Validation Service<\/em>:&nbsp;<a class=\"external-link\" title=\"\" href=\"https:\/\/validator.w3.org\/\" target=\"_blank\" rel=\"noopener\" data-mce-href=\"https:\/\/validator.w3.org\/\">https:\/\/validator.w3.org\/<\/a><\/p>\n<p>Encoding of XML documents<br \/>The encoding of XML documents is indicated in the XML prologue, a declaration before the root element. If no prologue is present, then the encoding is assumed to be the default for XML documents: UTF-8.<\/p>\n<p>Media type<br \/>The general media type, or mime type, for XML documents is&nbsp;<em>application\/xml<\/em>, also known as&nbsp;<em>text\/xml<\/em>. The usual extension is&nbsp;<em>.xml<\/em>.<\/p>\n<p>XML subtypes<br \/>XML has a wide variety of subtypes and specialized applications. Some of the most used:<br \/>&#8211; XHTML &#8211; Extensible Hyper Text Markup Language, a stricter version of html<br \/>&#8211; XSD &#8211; XML Schema Definition, a formal description of the elements in an XML document<br \/>&#8211; XSLT &#8211; XSL (eXtensible Stylesheet Language) Transformations, for transforming XML documents into other formats (in particular XML and HTML).<\/p>\n<p>Specialized applications of XML include:<br \/>&#8211; RDF XML &#8211; Resource Description Framework (RDF) described in XML, according to RFC3870<br \/>&#8211; RSS XML &#8211; RSS (Realy Simple Syndication) a type of web feed<br \/>&#8211; WSDL XML &#8211; (Web Services Description Language) an XML-based language for describing web services<br \/>&#8211; GML &#8211; Geography Markup Language, a markup language for describing geographical features<br \/>&#8211; SVG &#8211; Scalable Vector Graphics, a markup language for images<\/p>\n<p>See also<br \/>Planning for Library of Congress Collections:&nbsp;<a class=\"external-link\" title=\"\" href=\"https:\/\/www.loc.gov\/preservation\/digital\/formats\/fdd\/fdd000075.shtml\" target=\"_blank\" rel=\"noopener\" data-mce-href=\"https:\/\/www.loc.gov\/preservation\/digital\/formats\/fdd\/fdd000075.shtml\">https:\/\/www.loc.gov\/preservation\/digital\/formats\/fdd\/fdd000075.shtml<\/a><\/p>\n<p>XML is a preferred format for file type Markup Language.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>XML (eXtensible Markup Language) is a generic markup language designed by the World Wide Web Consortium (W3C) and is used in XML documents, a class of data objects that describe the behavior of algorithms through which they are processed. XML is an application profile and a limited form of SGML (Standard Generalized Markup Language).The format [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"parent":13056,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"class_list":["post-14035","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>File formats: XML | DANS<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dans.knaw.nl\/en\/file-formats\/markup-language\/xml\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"File formats: XML | DANS\" \/>\n<meta property=\"og:description\" content=\"XML (eXtensible Markup Language) is a generic markup language designed by the World Wide Web Consortium (W3C) and is used in XML documents, a class of data objects that describe the behavior of algorithms through which they are processed. XML is an application profile and a limited form of SGML (Standard Generalized Markup Language).The format [&hellip;]\" \/>\n<meta property=\"og:site_name\" content=\"DANS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Data-Archiving-and-Networked-Services-DANS-140231255994524\/\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-20T08:49:27+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@dans_knaw_nwo\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/file-formats\\\/markup-language\\\/xml\\\/\",\"url\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/file-formats\\\/markup-language\\\/xml\\\/\",\"name\":\"File formats: XML | DANS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/#website\"},\"datePublished\":\"2021-09-20T08:49:26+00:00\",\"dateModified\":\"2021-09-20T08:49:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/file-formats\\\/markup-language\\\/xml\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/file-formats\\\/markup-language\\\/xml\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/file-formats\\\/markup-language\\\/xml\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"File formats\",\"item\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/file-formats\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Markup language\",\"item\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/bestandsformaten\\\/opmaaktaal\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"XML\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/\",\"name\":\"DANS\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/dans.knaw.nl\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"File formats: XML | DANS","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dans.knaw.nl\/en\/file-formats\/markup-language\/xml\/","og_locale":"en_US","og_type":"article","og_title":"File formats: XML | DANS","og_description":"XML (eXtensible Markup Language) is a generic markup language designed by the World Wide Web Consortium (W3C) and is used in XML documents, a class of data objects that describe the behavior of algorithms through which they are processed. XML is an application profile and a limited form of SGML (Standard Generalized Markup Language).The format [&hellip;]","og_site_name":"DANS","article_publisher":"https:\/\/www.facebook.com\/Data-Archiving-and-Networked-Services-DANS-140231255994524\/","article_modified_time":"2021-09-20T08:49:27+00:00","twitter_card":"summary_large_image","twitter_site":"@dans_knaw_nwo","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dans.knaw.nl\/en\/file-formats\/markup-language\/xml\/","url":"https:\/\/dans.knaw.nl\/en\/file-formats\/markup-language\/xml\/","name":"File formats: XML | DANS","isPartOf":{"@id":"https:\/\/dans.knaw.nl\/en\/#website"},"datePublished":"2021-09-20T08:49:26+00:00","dateModified":"2021-09-20T08:49:27+00:00","breadcrumb":{"@id":"https:\/\/dans.knaw.nl\/en\/file-formats\/markup-language\/xml\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dans.knaw.nl\/en\/file-formats\/markup-language\/xml\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dans.knaw.nl\/en\/file-formats\/markup-language\/xml\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dans.knaw.nl\/en\/"},{"@type":"ListItem","position":2,"name":"File formats","item":"https:\/\/dans.knaw.nl\/en\/file-formats\/"},{"@type":"ListItem","position":3,"name":"Markup language","item":"https:\/\/dans.knaw.nl\/en\/bestandsformaten\/opmaaktaal\/"},{"@type":"ListItem","position":4,"name":"XML"}]},{"@type":"WebSite","@id":"https:\/\/dans.knaw.nl\/en\/#website","url":"https:\/\/dans.knaw.nl\/en\/","name":"DANS","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dans.knaw.nl\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/pages\/14035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/comments?post=14035"}],"version-history":[{"count":1,"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/pages\/14035\/revisions"}],"predecessor-version":[{"id":14036,"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/pages\/14035\/revisions\/14036"}],"up":[{"embeddable":true,"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/pages\/13056"}],"wp:attachment":[{"href":"https:\/\/dans.knaw.nl\/en\/wp-json\/wp\/v2\/media?parent=14035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}