{"id":1787,"date":"2023-11-04T12:53:28","date_gmt":"2023-11-04T12:53:28","guid":{"rendered":"https:\/\/matob.web.id\/random\/?p=1787"},"modified":"2023-11-04T12:53:28","modified_gmt":"2023-11-04T12:53:28","slug":"xml","status":"publish","type":"post","link":"https:\/\/matob.web.id\/random\/xml\/","title":{"rendered":"What is XML?"},"content":{"rendered":"<p>Have you ever heard of the term XML?\u00a0Maybe you&#8217;ve come across files with the XML extension.\u00a0So,\u00a0what\u00a0exactly\u00a0is XML?\u00a0You can use this XML to help you understand the basic structure of a website.\u00a0So, in this article, we will discuss fully about XML, starting from the understanding, the differences between XML and HTML, and the advantages of XML.\u00a0Read the article carefully so that no information is missed.<\/p>\n<h2>XML Definition<\/h2>\n<h2><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-1790 aligncenter\" src=\"https:\/\/matob.web.id\/random\/wp-content\/uploads\/sites\/2\/2021\/12\/what-is-xml.jpg\" alt=\"what is xml\" width=\"730\" height=\"454\" title=\"\"><\/h2>\n<p>XML is an acronym for <em>extensible markup language\u00a0<\/em>. A XML <em>files are\u00a0<\/em>used to create common information formats as well as a means to share formats and data used on the\u00a0<em>World Wide Web\u00a0<\/em>, intranets, and on\u00a0other\u00a0<em>platforms\u00a0<\/em>that use standard ASCII text.<\/p>\n<p><a href=\"https:\/\/matob.web.id\/random\/technology\/xml\/\">XML<\/a> itself is often considered similar to HTML.\u00a0Both XML and HTML contain\u00a0<em>markup\u00a0<\/em>symbols\u00a0that serve to describe the content of a page or\u00a0<em>file\u00a0<\/em>. However, HTML only describes the content of a web page according to how the page needs to be displayed to the\u00a0<em>user\u00a0<\/em>.\u00a0 For example, the letter &#8216;p&#8217; placed inside a\u00a0<em>markup\u00a0<\/em>tag\u00a0serves to start a new paragraph.<\/p>\n<p>Meanwhile, XML describes the content according to what data is being described by the program. For example, the word &#8216;\u00a0<em>phonenum\u00a0<\/em>&#8216; placed inside a\u00a0<em>markup\u00a0<\/em>tag\u00a0can indicate that the data used describes a phone number.<\/p>\n<p><em>An<\/em>\u00a0XML\u00a0<em>file\u00a0<\/em>can be processed completely as data by a program or it can be stored with similar data in another computer. It can also be displayed, like\u00a0<em>an<\/em>\u00a0HTML\u00a0<em>file\u00a0<\/em>.\u00a0For example, an application on the receiving computer will determine how to handle\u00a0<em>the<\/em>\u00a0XML\u00a0<em>file\u00a0<\/em>.\u00a0Will it be saved, displayed, or just played.<\/p>\n<p>Well, what distinguishes XML from\u00a0other\u00a0<em>markup languages\u00a0<\/em>is that\u00a0its\u00a0<em>files\u00a0<\/em>can be easily expanded by the user. Unlike HTML,\u00a0XML has an unlimited number of\u00a0<em>markup\u00a0<\/em>symbols\u00a0and can be defined by the user. XML is often considered a subset of the SGML\u00a0<em>standard<\/em>\u00a0or a\u00a0<em>standard generalized markup language\u00a0<\/em>that is simpler and easier to use for creating document structures.<\/p>\n<p>Typically, XML and HTML will be used together in many web applications.\u00a0For example,\u00a0XML\u00a0<em>markup\u00a0<\/em>may be seen frequently in an HTML page.<\/p>\n<h2>How to Open an XML File<\/h2>\n<p><img decoding=\"async\" class=\"size-full wp-image-1791 aligncenter\" src=\"https:\/\/matob.web.id\/random\/wp-content\/uploads\/sites\/2\/2021\/12\/xml-file.jpg\" alt=\"xml file\" width=\"650\" height=\"275\" title=\"\"><\/p>\n<p>In fact, XML is a\u00a0programming language\u00a0<em>file\u00a0<\/em>that is easy to access.\u00a0Therefore, there are several easy ways to view the\u00a0<em>file\u00a0<\/em>live.<\/p>\n<p>You can open and edit them with the various\u00a0<a href=\"https:\/\/matob.web.id\/random\/1001\/text-editor-for-programming\/\"><em>text editor\u00a0<\/em>applications<\/a>\u00a0available, view them with any\u00a0<em>web browser\u00a0<\/em>, and use websites that allow you to view, edit, and convert them to other formats.<\/p>\n<p>Here are ways to open\u00a0XML\u00a0<em>files\u00a0<\/em>based on your choice of\u00a0<em>platform\u00a0<\/em>.<\/p>\n<h3>1.\u00a0Text editor\u00a0application<\/h3>\n<p>Generally,\u00a0this one\u00a0<em>platform\u00a0<\/em>is only used by\u00a0<em>programmers\u00a0<\/em>who have often worked with\u00a0<a href=\"https:\/\/matob.web.id\/random\/technology\/xml\/\">XML\u00a0files<\/a>\u00a0.<\/p>\n<p>Why is that?\u00a0The reason is, most text editor applications such as Notepad are not designed to display\u00a0XML\u00a0<em>files\u00a0<\/em>with the right structure.<\/p>\n<p>Perhaps, a text editor application will have no trouble opening\u00a0<em>the<\/em>\u00a0XML\u00a0<em>file\u00a0<\/em>and taking a quick look at it to check the data used.<\/p>\n<p>However, there are still\u00a0<em>platforms\u00a0<\/em>that are more suitable for beginners if they want to use XML<\/p>\n<p>To open it in a text editor application, right-click on\u00a0<em>the<\/em>\u00a0XML\u00a0<em>file\u00a0<\/em>that you want to open.\u00a0Then, hover over the &#8216;\u00a0<em>Open With\u00a0<\/em>&#8216;\u00a0option\u00a0in the context menu and click on the &#8216;Notepad&#8217; option.<\/p>\n<h3>2.\u00a0Web browser<\/h3>\n<p>According to Howtogeek, another way to open XML is with a\u00a0<em>web browser\u00a0<\/em>.<\/p>\n<p>If you don&#8217;t really need to edit an\u00a0XML\u00a0<em>file\u00a0<\/em>and only need to view it occasionally, a\u00a0<em>browser\u00a0<\/em>can be an option for you.<\/p>\n<p>In fact, the\u00a0<em>web browser\u00a0<\/em>that you use often may have been set up by the\u00a0<em>developer\u00a0<\/em>as the\u00a0<em>default\u00a0<\/em>viewer\u00a0for an\u00a0XML\u00a0<em>file\u00a0<\/em>.<\/p>\n<p>You simply double-click\u00a0<em>the<\/em>\u00a0XML\u00a0<em>file\u00a0<\/em>to open it in a\u00a0<em>web browser\u00a0<\/em>.<\/p>\n<p>If that doesn&#8217;t work, you can right-click\u00a0<em>the<\/em>\u00a0XML\u00a0<em>file\u00a0<\/em>to find the command options to open it.\u00a0This method works on all available\u00a0<em>web browsers\u00a0<\/em>, especially Chrome.<\/p>\n<h3>3.\u00a0Online editing\u00a0application<\/h3>\n<p>If you want to edit a\u00a0<em>file\u00a0<\/em>XML occasionally and do not want to download\u00a0editor a new text, or if you need to convert the\u00a0<em>file\u00a0<\/em>XML into another format, XML editor\u00a0<em>online\u00a0<\/em>is your best piihan.<\/p>\n<p>Today, there are many\u00a0free\u00a0<em>editing\u00a0<\/em>applications\u00a0that you can use on the internet, such as TutorialsPoint.com, <a href=\"https:\/\/xmlgrid.net\/\" target=\"_blank\" rel=\"noopener\">XMLGrid.net<\/a>, and CodeBeautify.org.<\/p>\n<p>All of these applications allow you to view and edit\u00a0XML\u00a0<em>files\u00a0<\/em>.<\/p>\n<p>Once you&#8217;re done editing, you can also download\u00a0<em>the<\/em>\u00a0modified XML\u00a0<em>file\u00a0<\/em>, or even convert it to another format.<\/p>\n<h2>Difference between XML and HTML<\/h2>\n<p>After reading the explanation above, the use of XML to store and simplify the exchange of data, while HTML is used to display data.<\/p>\n<p>Furthermore, you can use various tags in XML, whereas HTML requires special tags to perform a function.\u00a0In addition, XML is\u00a0<em>case sensitive,\u00a0<\/em>while HTML is\u00a0<em>case insensitive\u00a0<\/em>.<\/p>\n<h2>XML Structure<\/h2>\n<p>This XML has three constituent structures, the following are the three structures and their explanations.<\/p>\n<ul>\n<li>Declaration \u2013 This declaration section indicates the version of XML that you are currently using.<\/li>\n<li>Attribute &#8211; Attribute is the part that contains the description of the object.\u00a0Like the title or something.<\/li>\n<li>Element &#8211; The last structure is an element, this element is useful for describing objects and consists of three parts, namely the opening tag, body, and closing tag.<\/li>\n<\/ul>\n<h2>XML Advantages and Disadvantages<\/h2>\n<p>After knowing the explanation and structure, now we will discuss the advantages and disadvantages of this XML.<\/p>\n<h3>Excess<\/h3>\n<ul>\n<li>XML is platform and language independent, so it can be used on a variety of systems.<\/li>\n<li>Supports unicode.<\/li>\n<li>Can change data at any time without affecting its appearance.<\/li>\n<\/ul>\n<h3>Deficiency<\/h3>\n<ul>\n<li>Does not support arrays.<\/li>\n<li>Size is quite large, depending on who wrote it.<\/li>\n<li>The cost of storing and transmitting data is quite high.<\/li>\n<\/ul>\n<h2>So, What is XML?<\/h2>\n<p>So, that&#8217;s the discussion about XML.\u00a0XML itself is a\u00a0<em>markup language\u00a0<\/em>created by the\u00a0<em>World Wide Web Consortium\u00a0<\/em>, this language is used to simplify the exchange and storage of data.\u00a0XML consists of three structures, namely declarations, attributes, and elements.<\/p>\n<p><em>Extensible Markup Language\u00a0<\/em>has advantages such as, it can be used on various systems because it is an independent programming language.\u00a0However, XML also has drawbacks such as you can&#8217;t use arrays in XML.<\/p>\n<p>If you&#8217;re curious about viewing and editing your XML file, you can open the file in a number of ways.\u00a0There are usually three ways to open a file with an XML extension.\u00a0You can open it with a text editor, with a browser and also with an online XML editor.<\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever heard of the term XML?\u00a0Maybe you&#8217;ve come across files with the XML extension.\u00a0So,\u00a0what\u00a0exactly\u00a0is XML?\u00a0You can use this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1792,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1787","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts\/1787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/comments?post=1787"}],"version-history":[{"count":1,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts\/1787\/revisions"}],"predecessor-version":[{"id":2402,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts\/1787\/revisions\/2402"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/media\/1792"}],"wp:attachment":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/media?parent=1787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/categories?post=1787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/tags?post=1787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}