{"id":1272,"date":"2020-08-26T09:30:51","date_gmt":"2020-08-26T09:30:51","guid":{"rendered":"http:\/\/shaplakanon.com\/wpsupport\/?p=1272"},"modified":"2020-08-26T09:33:13","modified_gmt":"2020-08-26T09:33:13","slug":"tutorial-what-is-xml","status":"publish","type":"post","link":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/","title":{"rendered":"Tutorial: What is XML?"},"content":{"rendered":"\n

Are you interested in web design and web development<\/a>? Then, You should learn XML. In this article, we will discuss several things such as: What is XML? How does it work? And, how does it differ from HTML?<\/p>\n\n\n\n

What is the XML Format?<\/h4>\n\n\n\n

XML is a short form of Extensible Markup Language<\/strong>. It is one of the most popular markup languages along with HTML<\/strong>. It simplifies data storage and transferring between different servers.<\/p>\n\n\n\n

As servers use different systems, it\u2019s hard to transfer data without converting them into the same format, however, the conversion process itself risks data loss.<\/p>\n\n\n\n

With XML, you don\u2019t need to convert data format. It keeps data in the same structure and format even it travels to a different server. So it\u2019s far more efficient and requires less effort.<\/p>\n\n\n\n

Moreover, it is readable both by humans and machines. Meaning you can easily manage and update it. As a self-describing file, machines read your data in an exact way you do.<\/p>\n\n\n\n

Because of these, World Wide Web Consortium (W3C)<\/strong> endorses XML.<\/p>\n\n\n\n

What does XML Code Look Like?<\/h2>\n\n\n\n

XML uses a specific code to keep the data intact.<\/p>\n\n\n\n

An XML file always constitutes by markup and content. Markup with a <<\/strong> and a ><\/strong> is used to make a start-tag and an end-tag, while a pair of & and a ; show a name<\/strong> entity. Specific content fills the space between those markups with plain text.<\/p>\n\n\n\n

tag<\/strong> is a description of the content. It constitutes from a <<\/strong>, keyword, and a ><\/strong>. There are three kinds of tags: start-tag<\/strong>, end-tag<\/strong>, and empty-element tag<\/strong>.<\/p>\n\n\n\n

To make an element or a piece of content, you need a start-tag and an end-tag. Without one of them, content won\u2019t be valid. For example:<\/p>\n\n\n\n

<greetings>Welcome!<\/greetings>\n<\/code><\/pre>\n\n\n\n

Here is an example of the Extensible Markup Language<\/strong> format:<\/p>\n\n\n\n

<note>\n <to>Daniel<\/to>\n <from>Jean<\/from>\n <body>Don't forget to feed the cats!<\/body>\n<\/note><\/code><\/pre>\n\n\n\n

This is a book catalog in form of XML format:<\/p>\n\n\n\n

\n
<?xml version=\"1.0\" standalone=\"yes\"?>\n<new arrival>\n<book>\n<title>The Life-Changing Magic of Tidying Up: The Japanese Art of    Decluttering and Organizing<\/title>\n   <author>Marie Kondo<\/author>\n   <price>$9.69<\/price>\n<description>The #1 New York Times bestseller book.<\/description>\n<\/book>\n<\/new arrival><\/code><\/pre>\n<\/div><\/div>\n\n\n\n

What is an XML File?<\/h2>\n\n\n\n

A plain text file with Extensible Markup Language formatting forms an XML file. It allows you to store and group certain data in a specific file.<\/p>\n\n\n\n

An XML-based file usually uses an RSS feed, Android layout design, and Microsoft Office files such as .docx<\/strong>, .xlsx<\/strong>, and .pptx<\/strong>.<\/p>\n\n\n\n

Differences Between XML and HTML<\/h2>\n\n\n\n

Both XML and HTML are markup languages, but they work for a different purpose. Extensible Markup Language provides data, while HTML displays it. For a better picture, we list their differences below:<\/p>\n\n\n\n

\"xml<\/figure><\/div>\n\n\n\n

No Visual Representation<\/h3>\n\n\n\n

XML cannot display data mainly because of its user-defined tags.<\/p>\n\n\n\n

The tags show specific content descriptions which are entirely up to users. As long as it comes in pair, the Extensible Markup Language is valid.<\/p>\n\n\n\n

Whereas, HTML uses predefines tags. Programmers assign the tags with a specific function to show data in certain ways.<\/p>\n","protected":false},"excerpt":{"rendered":"

Are you interested in web design and web development? Then, You should learn XML. In this article, we will discuss several<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[296],"tags":[],"class_list":["post-1272","post","type-post","status-publish","format-standard","hentry","category-tutorial"],"yoast_head":"\nTutorial: What is XML? - WordPress Support<\/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:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tutorial: What is XML? - WordPress Support\" \/>\n<meta property=\"og:description\" content=\"Are you interested in web design and web development? Then, You should learn XML. In this article, we will discuss several\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/\" \/>\n<meta property=\"og:site_name\" content=\"WordPress Support\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/getwpsupport\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-26T09:30:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-26T09:33:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png\" \/>\n<meta name=\"author\" content=\"Ruhul Amin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ruhul24\" \/>\n<meta name=\"twitter:site\" content=\"@ruhul24\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ruhul Amin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/\"},\"author\":{\"name\":\"Ruhul Amin\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/person\/f5f224239283c27426dadc2e4cc9a825\"},\"headline\":\"Tutorial: What is XML?\",\"datePublished\":\"2020-08-26T09:30:51+00:00\",\"dateModified\":\"2020-08-26T09:33:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/\"},\"wordCount\":489,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#organization\"},\"image\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png\",\"articleSection\":[\"Tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/\",\"url\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/\",\"name\":\"Tutorial: What is XML? - WordPress Support\",\"isPartOf\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png\",\"datePublished\":\"2020-08-26T09:30:51+00:00\",\"dateModified\":\"2020-08-26T09:33:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#primaryimage\",\"url\":\"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png\",\"contentUrl\":\"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/shaplakanon.com\/wpsupport\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorial: What is XML?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#website\",\"url\":\"https:\/\/shaplakanon.com\/wpsupport\/\",\"name\":\"WordPress Support\",\"description\":\"Wordpress Repair, migration, speed optimization\",\"publisher\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/shaplakanon.com\/wpsupport\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#organization\",\"name\":\"WordPress Support\",\"url\":\"https:\/\/shaplakanon.com\/wpsupport\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/shaplakanon.com\/wpsupport\/wp-content\/uploads\/sites\/2\/2022\/05\/cropped-logo-9674824.png\",\"contentUrl\":\"https:\/\/shaplakanon.com\/wpsupport\/wp-content\/uploads\/sites\/2\/2022\/05\/cropped-logo-9674824.png\",\"width\":274,\"height\":55,\"caption\":\"WordPress Support\"},\"image\":{\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/getwpsupport\/\",\"https:\/\/x.com\/ruhul24\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/person\/f5f224239283c27426dadc2e4cc9a825\",\"name\":\"Ruhul Amin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/28178d347289d520b52ece250f7042df?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/28178d347289d520b52ece250f7042df?s=96&d=mm&r=g\",\"caption\":\"Ruhul Amin\"},\"sameAs\":[\"https:\/\/shaplakanon.com\/wdc\/\"],\"url\":\"https:\/\/shaplakanon.com\/wpsupport\/author\/sabahat\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tutorial: What is XML? - WordPress Support","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:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/","og_locale":"en_US","og_type":"article","og_title":"Tutorial: What is XML? - WordPress Support","og_description":"Are you interested in web design and web development? Then, You should learn XML. In this article, we will discuss several","og_url":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/","og_site_name":"WordPress Support","article_publisher":"https:\/\/facebook.com\/getwpsupport\/","article_published_time":"2020-08-26T09:30:51+00:00","article_modified_time":"2020-08-26T09:33:13+00:00","og_image":[{"url":"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png"}],"author":"Ruhul Amin","twitter_card":"summary_large_image","twitter_creator":"@ruhul24","twitter_site":"@ruhul24","twitter_misc":{"Written by":"Ruhul Amin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#article","isPartOf":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/"},"author":{"name":"Ruhul Amin","@id":"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/person\/f5f224239283c27426dadc2e4cc9a825"},"headline":"Tutorial: What is XML?","datePublished":"2020-08-26T09:30:51+00:00","dateModified":"2020-08-26T09:33:13+00:00","mainEntityOfPage":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/"},"wordCount":489,"commentCount":0,"publisher":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/#organization"},"image":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#primaryimage"},"thumbnailUrl":"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png","articleSection":["Tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/","url":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/","name":"Tutorial: What is XML? - WordPress Support","isPartOf":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/#website"},"primaryImageOfPage":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#primaryimage"},"image":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#primaryimage"},"thumbnailUrl":"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png","datePublished":"2020-08-26T09:30:51+00:00","dateModified":"2020-08-26T09:33:13+00:00","breadcrumb":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#primaryimage","url":"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png","contentUrl":"https:\/\/www.000webhost.com\/blog\/wp-content\/uploads\/sites\/15\/2019\/02\/xml-html-differences.png"},{"@type":"BreadcrumbList","@id":"https:\/\/shaplakanon.com\/wpsupport\/tutorial-what-is-xml\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/shaplakanon.com\/wpsupport\/"},{"@type":"ListItem","position":2,"name":"Tutorial: What is XML?"}]},{"@type":"WebSite","@id":"https:\/\/shaplakanon.com\/wpsupport\/#website","url":"https:\/\/shaplakanon.com\/wpsupport\/","name":"WordPress Support","description":"Wordpress Repair, migration, speed optimization","publisher":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shaplakanon.com\/wpsupport\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/shaplakanon.com\/wpsupport\/#organization","name":"WordPress Support","url":"https:\/\/shaplakanon.com\/wpsupport\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/logo\/image\/","url":"https:\/\/shaplakanon.com\/wpsupport\/wp-content\/uploads\/sites\/2\/2022\/05\/cropped-logo-9674824.png","contentUrl":"https:\/\/shaplakanon.com\/wpsupport\/wp-content\/uploads\/sites\/2\/2022\/05\/cropped-logo-9674824.png","width":274,"height":55,"caption":"WordPress Support"},"image":{"@id":"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/getwpsupport\/","https:\/\/x.com\/ruhul24"]},{"@type":"Person","@id":"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/person\/f5f224239283c27426dadc2e4cc9a825","name":"Ruhul Amin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shaplakanon.com\/wpsupport\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/28178d347289d520b52ece250f7042df?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/28178d347289d520b52ece250f7042df?s=96&d=mm&r=g","caption":"Ruhul Amin"},"sameAs":["https:\/\/shaplakanon.com\/wdc\/"],"url":"https:\/\/shaplakanon.com\/wpsupport\/author\/sabahat\/"}]}},"_links":{"self":[{"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/posts\/1272"}],"collection":[{"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/comments?post=1272"}],"version-history":[{"count":5,"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/posts\/1272\/revisions"}],"predecessor-version":[{"id":1277,"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/posts\/1272\/revisions\/1277"}],"wp:attachment":[{"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/media?parent=1272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/categories?post=1272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shaplakanon.com\/wpsupport\/wp-json\/wp\/v2\/tags?post=1272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}