{"id":26653,"date":"2021-12-29T23:55:00","date_gmt":"2021-12-29T18:25:00","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/"},"modified":"2024-11-18T14:00:47","modified_gmt":"2024-11-18T08:30:47","slug":"xml-interview-questions","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/","title":{"rendered":"XML Interview Questions and Answers"},"content":{"rendered":"\n<p>Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro.<\/p>\n\n\n\n<p><strong>1.What is XML?<\/strong><\/p>\n\n\n\n<p>XML stands for - <strong>eXtensible Markup Language <\/strong>.<\/p>\n\n\n\n<p>XML lays down the framework for defining markup languages. XML is neither programming nor a presentation language. XML is generally used to store text data only. Text data is easy to arrange in XML, which can later be sent as a response from Webserver to the requesting webpage or app as per the codes written.<\/p>\n\n\n\n<p>XML was released in the late \u201990s.<\/p>\n\n\n\n<p><strong>2.<\/strong> <strong>How to open an XML file?<\/strong><\/p>\n\n\n\n<p>To open an XML file for editing and re-formatting, you can use any text editor or notepad++, highlighting the syntax, which could be useful in differentiating syntax and other background work.<\/p>\n\n\n\n<p>Opening the XML file in windows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>Right click the .XML file&nbsp;<\/em><\/li>\n\n\n\n<li><em>Choose \u2018<\/em><strong><em>open with.<\/em><\/strong><em>\u2019<\/em><\/li>\n\n\n\n<li><em>Select your desired editor<\/em><\/li>\n<\/ul>\n\n\n\n<p>Opening the XML file in mac os:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A single click on the .XML file in Finder<\/li>\n\n\n\n<li>Press spacebar<\/li>\n<\/ul>\n\n\n\n<p><strong>3. What is XML used for?<\/strong><\/p>\n\n\n\n<p>Extensible Markup Language (XML) is used to describe data.<\/p>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Academy Pro<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/frontend-web-development-essentials\" class=\"courses-cta-title-link\">Frontend Development Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">Learn the essentials of frontend development with hands-on training in HTML, CSS, and JavaScript. Build stunning, responsive websites and gain the skills to bring your creative ideas to life!<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>10 Hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>1 Project<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/frontend-web-development-essentials\" class=\"courses-cta-button\">\n                Learn Front End Development\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<p><strong>4. How to convert XML to excel?<\/strong><\/p>\n\n\n\n<p>Step 1: Open Microsoft Excel<\/p>\n\n\n\n<p>Step 2: Click on \u2018file\u2019 on the top left corner of MS Excel. If you are using MS Excel version 2007, click on the MS Office logo.<\/p>\n\n\n\n<p>Step 3: You will land on the \u2018open\u2019 tab; if not, select the \u2018open\u2019 tab. Click \u2018browse\u2019 for the MS Excel version of 2010 and above.<\/p>\n\n\n\n<p>Step 4: Double click on the XML file you want to export into MS Excel.<\/p>\n\n\n\n<p>Step 5: Select <strong>\u2018Open the file without applying a style sheet<\/strong>\u2019 to select the standard format, or \u2018<strong>Open the file with the stylesheet applied<\/strong>\u2019 to format the data in accordance with the style sheet.<\/p>\n\n\n\n<p>Step 6: Click on \u2018<strong>save as<\/strong>\u2019 and select \u2018<strong>Excel Workbook<\/strong>\u2019 from the drop-down menu.<\/p>\n\n\n\n<p>Step 7: Save the file!<\/p>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Academy Pro<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/excel-training-beginners-to-advanced\" class=\"courses-cta-title-link\">Microsoft Excel Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">Learn Excel the smart way! Our course teaches you all the essential tools and techniques to master spreadsheets, from formulas to charts, and improve your workflow in every task you do.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>10 Hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>2 Projects<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/excel-training-beginners-to-advanced\" class=\"courses-cta-button\">\n                Learn Excel\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<p><strong>5. How to comment in XML?<\/strong><\/p>\n\n\n\n<p>&lt;!-- Write your comment here --&gt;<\/p>\n\n\n\n<p>The above syntax is used as a comment in XML, and these comments don\u2019t show up on the screen.<\/p>\n\n\n\n<p><strong>6. How to display XML data in an HTML page using javascript?<\/strong><\/p>\n\n\n\n<p>This concept of displaying XML data on an HTML page comes under \u2018XML Applications\u2019. Here, we shall use demo.XML as an example.<\/p>\n\n\n\n<p><strong>Example<\/strong>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\nThis concept of displaying XML data on an HTML page comes under \u2018XML Applications\u2019. Here, we shall use demo.XML as an example.\n\nExample:\n\n&lt;!DOCTYPE html&gt;\n\n&lt;html lang=&quot;en&quot;&gt;\n\n&lt;head&gt;\n\n&lt;meta charset=&quot;UTF-8&quot;&gt;\n\n&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\n\n&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;ie=edge&quot;&gt;\n\n&lt;title&gt;Demo by Great Learning&lt;\/title&gt;\n\n&lt;\/head&gt;\n\n&lt;body&gt;\n\n&lt;div id=&#039;content&#039;&gt;\n\n&lt;table id=&#039;books&#039; cellpadding=&#039;10px&#039; style=&quot;text-align:left;&quot;&gt;\n\n&lt;thead&gt;\n\n&lt;tr&gt;\n &lt;th&gt;Author&lt;\/th&gt;\n &lt;th&gt;Title&lt;\/th&gt;\n &lt;th&gt;Price&lt;\/th&gt;\n &lt;th&gt;Description&lt;\/th&gt;\n  &lt;\/tr&gt;                \n           \n &lt;\/thead&gt;\n            \n&lt;tbody&gt;\n\n            \n&lt;\/tbody&gt;\n        \n&lt;\/table&gt;\n    \n&lt;\/div&gt;\n\n    \n&lt;script&gt;\n        \nlet XMLContent = &#039;&#039;;\n        \nlet tableBooks = document.getElementById(&#039;books&#039;);\n \n       fetch(&#039;books.XML&#039;).then((response)=&gt; {\n            response.text().then((XML)=&gt;{\n                XMLContent = XML;\n\n\n                let parser = new DOMParser();\n \n               let XMLDOM = parser.parseFromString(XMLContent, &#039;application\/XML&#039;);\n\n                let books = XMLDOM.querySelectorAll(&#039;book&#039;);\n\n\n                books.forEach(bookXMLNode =&gt; {\n\n                    let row = document.createElement(&#039;tr&#039;);\n\n\n                    \/\/author\n                    let td = document.createElement(&#039;td&#039;);\n\n                    td.innerText = bookXMLNode.children&#x5B;0].innerHTML;\n\n                    row.appendChild(td);\n\n                    \/\/  title\n  \n                  td = document.createElement(&#039;td&#039;);\n\n                    td.innerText = bookXMLNode.children&#x5B;1].innerHTML;\n\n                    row.appendChild(td);\n                    \n\/\/price\n  \n                  td = document.createElement(&#039;td&#039;);\n\n                    td.innerText = &#039;$ &#039; + bookXMLNode.children&#x5B;3].innerHTML;\n\n                    row.appendChild(td);\n\n                    \/\/description\n     \n               td = document.createElement(&#039;td&#039;);\n\n                    td.innerText = bookXMLNode.children&#x5B;5].innerHTML;\n\n                    row.appendChild(td);\n\n\n                    tableBooks.children&#x5B;1].appendChild(row);\n\n                    \n                });\n  \n              \n            });\n    \n    });    \n   \n &lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n\nbooks.XML\n&lt;?XML version=&quot;1.0&quot;?&gt;\n\n&lt;catalog&gt;\n\n   &lt;book id=&quot;bk101&quot;&gt;\n    \n  &lt;author&gt;Novoneel Chakaborty&lt;\/author&gt;\n\n      &lt;title&gt;Marry me, Stanger&lt;\/title&gt;\n \n     &lt;genre&gt;Thriller&lt;\/genre&gt;\n\n      &lt;price&gt;175&lt;\/price&gt;\n\n      &lt;publish_date&gt;2014-11-15&lt;\/publish_date&gt;\n\n      &lt;description&gt;He has no voice, no face, no name, no identity. BUT HE HAS AN INTENTION&lt;\/description&gt;\n\n   &lt;\/book&gt;\n\n   &lt;book id=&quot;bk102&quot;&gt;\n\n      &lt;author&gt;Novoneel Chakaborty&lt;\/author&gt;\n\n      &lt;title&gt;All Yours, Stranger&lt;\/title&gt;\n\n      &lt;genre&gt;=Thriller&lt;\/genre&gt;\n\n      &lt;price&gt;133.33&lt;\/price&gt;\n\n      &lt;publish_date&gt;2015-07-14&lt;\/publish_date&gt;\n\n      &lt;description&gt;He has no voice, no face, no name, no identity. BUT HE HAS AN INTENTION&lt;\/description&gt;\n\n   &lt;\/book&gt;\n\n   &lt;book id=&quot;bk103&quot;&gt;\n   \n   &lt;author&gt;Novoneel Chakaborty&lt;\/author&gt;\n \n     &lt;title&gt;Forget Me Not, Stranger&lt;\/title&gt;\n\n      &lt;genre&gt;Thriller&lt;\/genre&gt;\n\n      &lt;price&gt;133.33&lt;\/price&gt;\n  \n    &lt;publish_date&gt;2016-04-13&lt;\/publish_date&gt;\n\n      &lt;description&gt;He has no voice, no face, no name, no identity. BUT HE HAS AN INTENTION&lt;\/description&gt;\n\n   &lt;\/book&gt;\n\n   &lt;book id=&quot;bk104&quot;&gt;\n\n      &lt;author&gt;Corets, Eva&lt;\/author&gt;\n   \n   &lt;title&gt;Oberon&#039;s Legacy&lt;\/title&gt;\n    \n  &lt;genre&gt;Fantasy&lt;\/genre&gt;\n   \n   &lt;price&gt;5.95&lt;\/price&gt;\n      \n&lt;publish_date&gt;2001-03-10&lt;\/publish_date&gt;\n \n     &lt;description&gt;In post-apocalypse England, the mysterious \n      agent known only as Oberon helps to create a new life \n      for the inhabitants of London. Sequel to Maeve \n      Ascendant.&lt;\/description&gt;\n\n   &lt;\/book&gt;\n\n   &lt;book id=&quot;bk105&quot;&gt;\n\n      &lt;author&gt;Corets, Eva&lt;\/author&gt;\n\n      &lt;title&gt;The Sundered Grail&lt;\/title&gt;\n   \n   &lt;genre&gt;Fantasy&lt;\/genre&gt;\n\n      &lt;price&gt;5.95&lt;\/price&gt;\n\n      &lt;publish_date&gt;2001-09-10&lt;\/publish_date&gt;\n  \n    &lt;description&gt;The two daughters of Maeve, half-sisters, \n      battle one another for control of England. Sequel to \n      Oberon&#039;s Legacy.&lt;\/description&gt;\n   &lt;\/book&gt;\n   &lt;book id=&quot;bk106&quot;&gt;\n      &lt;author&gt;Randall, Cynthia&lt;\/author&gt;\n      &lt;title&gt;Lover Birds&lt;\/title&gt;\n      &lt;genre&gt;Romance&lt;\/genre&gt;\n      &lt;price&gt;4.95&lt;\/price&gt;\n      &lt;publish_date&gt;2000-09-02&lt;\/publish_date&gt;\n      &lt;description&gt;When Carla meets Paul at an ornithology \n      conference, tempers fly as feathers get ruffled.&lt;\/description&gt;\n   &lt;\/book&gt;\n   &lt;book id=&quot;bk107&quot;&gt;\n      &lt;author&gt;Thurman, Paula&lt;\/author&gt;\n      &lt;title&gt;Splish Splash&lt;\/title&gt;\n      &lt;genre&gt;Romance&lt;\/genre&gt;\n      &lt;price&gt;4.95&lt;\/price&gt;\n      &lt;publish_date&gt;2000-11-02&lt;\/publish_date&gt;\n      &lt;description&gt;A deep sea diver finds true love twenty \n      thousand leagues beneath the sea.&lt;\/description&gt;\n\n   &lt;\/book&gt;\n   \n&lt;book id=&quot;bk108&quot;&gt;\n \n     &lt;author&gt;Knorr, Stefan&lt;\/author&gt;\n \n     &lt;title&gt;Creepy Crawlies&lt;\/title&gt;\n  \n    &lt;genre&gt;Horror&lt;\/genre&gt;\n   \n   &lt;price&gt;4.95&lt;\/price&gt;\n  \n    &lt;publish_date&gt;2000-12-06&lt;\/publish_date&gt;\n   \n   &lt;description&gt;An anthology of horror stories about roaches,\n      centipedes, scorpions  and other insects.&lt;\/description&gt;\n   &lt;\/book&gt;\n   &lt;book id=&quot;bk109&quot;&gt;\n      &lt;author&gt;Kress, Peter&lt;\/author&gt;\n      &lt;title&gt;Paradox Lost&lt;\/title&gt;\n      &lt;genre&gt;Science Fiction&lt;\/genre&gt;\n      &lt;price&gt;6.95&lt;\/price&gt;\n      &lt;publish_date&gt;2000-11-02&lt;\/publish_date&gt;\n      &lt;description&gt;After an inadvertant trip through a Heisenberg\n      Uncertainty Device, James Salway discovers the problems \n      of being quantum.&lt;\/description&gt;\n   &lt;\/book&gt;\n   &lt;book id=&quot;bk110&quot;&gt;\n      &lt;author&gt;O&#039;Brien, Tim&lt;\/author&gt;\n      &lt;title&gt;Microsoft .NET: The Programming Bible&lt;\/title&gt;\n      &lt;genre&gt;Computer&lt;\/genre&gt;\n      &lt;price&gt;36.95&lt;\/price&gt;\n      &lt;publish_date&gt;2000-12-09&lt;\/publish_date&gt;\n      &lt;description&gt;Microsoft&#039;s .NET initiative is explored in \n      detail in this deep programmer&#039;s reference.&lt;\/description&gt;\n   \n&lt;\/book&gt;\n\n   &lt;book id=&quot;bk111&quot;&gt;\n  \n    &lt;author&gt;O&#039;Brien, Tim&lt;\/author&gt;\n   \n   &lt;title&gt;MSXML3: A Comprehensive Guide&lt;\/title&gt;\n \n     &lt;genre&gt;Computer&lt;\/genre&gt;\n   \n   &lt;price&gt;36.95&lt;\/price&gt;\n   \n   &lt;publish_date&gt;2000-12-01&lt;\/publish_date&gt;\n\n      &lt;description&gt;The Microsoft MSXML3 parser is covered in \n      detail, with attention to XML DOM interfaces, XSLT processing, \n      SAX and more.&lt;\/description&gt;\n   &lt;\/book&gt;\n\n   &lt;book id=&quot;bk112&quot;&gt;\n      &lt;author&gt;Galos, Mike&lt;\/author&gt;\n      &lt;title&gt;Visual Studio 7: A Comprehensive Guide&lt;\/title&gt;\n      &lt;genre&gt;Computer&lt;\/genre&gt;\n      &lt;price&gt;49.95&lt;\/price&gt;\n      &lt;publish_date&gt;2001-04-16&lt;\/publish_date&gt;\n      &lt;description&gt;Microsoft Visual Studio 7 is explored in depth,\n      looking at how Visual Basic, Visual C++, C#, and ASP+ are \n      integrated into a comprehensive development \n      environment.&lt;\/description&gt;\n \n  &lt;\/book&gt;\n\n&lt;\/catalog&gt;\n\n<\/pre><\/div>\n\n\n<p><strong>7. How to import an XML file in tally?<\/strong><\/p>\n\n\n\n<p>To import XML file data in tally, follow the below steps.<\/p>\n\n\n\n<p>Step 1: Once you open Tally, you will be welcomed with the StartUp page.<\/p>\n\n\n\n<p>Step 2: Now, press \u2018<em>L<\/em>\u2019 to login as \u2018<em>Remote Tally User<\/em>\u2019 to import your data.<\/p>\n\n\n\n<p>Step 3: You will be prompted with Login Screen, log in with user ID and password.<\/p>\n\n\n\n<p>Step 4: On logging in, you will see \u2018<em>Gateway of Tally<\/em>\u2019 to your screen\u2019s right.<\/p>\n\n\n\n<p>Step 5: Under \u2018<em>Masters<\/em>\u2019 select, \u2018<em>Account Info.<\/em>\u2019<\/p>\n\n\n\n<p>Step 6: Under \u2018<em>Company Info<\/em>\u2019, \u2018Select <em>Company<\/em>\u2019, you want to import the XML file.<\/p>\n\n\n\n<p>Step 7: Under \u2018Company\u2019, select the company to which you want to import your data; let\u2019s call the \u2018Company\u2019 as \u2018xyz\u2019.<\/p>\n\n\n\n<p>Step 8: Now, login to \u2018xyz.\u2019<\/p>\n\n\n\n<p>Step 9: Under Gateway of Tally, Select \u2018<em>Accounts Info<\/em>\u2019 under \u2018<em>Masters<\/em>\u2019<\/p>\n\n\n\n<p>Step 10: Now select \u2018<em>trial balance<\/em>\u2019 as we wanted to update it.<\/p>\n\n\n\n<p>Step 11: Select \u2018<em>Outstandings<\/em>\u2019<\/p>\n\n\n\n<p>Step 12: Now, under Types of Vouchers, select \u2018<em>Stock Journal<\/em>\u2019 as we would like to import the XML file of Stock Journal data.<\/p>\n\n\n\n<p>Step 13: Stock Journal by default will be zero, and now select \u2018<em>Import Data<\/em>\u2019 under \u2018<em>Utilities<\/em>\u2019.<\/p>\n\n\n\n<p>Step 14: Select \u2018<em>Vouchers<\/em>\u2019 under \u2018<em>Import Data<\/em>\u2019<\/p>\n\n\n\n<p>Step 15: Now, a pop-up screen will appear, now enter the file location of XML as in your pc. <em>Example: C:\/\/DownloadsTally.XML<\/em><\/p>\n\n\n\n<p>Step 16: Done!<\/p>\n\n\n\n<p><strong>8.What is DTD in XML?<\/strong><\/p>\n\n\n\n<p>DTD stands for Document Type Definition. DTD defines the structure, elements and attributes of an XML document. Document Type Definition forms like the structure of the tree and describes something about its data. Document Type Definition (DTD) consists of SGML family structure, like GML, SGML, HTML, XML. In this case, it\u2019s XML.<\/p>\n\n\n\n<p>DTD can be declared inside an XML document or externally.<\/p>\n\n\n\n<p><strong>9.How do you apply a DTD to an XML document?<\/strong><\/p>\n\n\n\n<p><strong>XML document:<\/strong><\/p>\n\n\n\n<p>&lt;?XML version=\"1.0\" encoding=\"standalone=\u201dyes\"?&gt;<\/p>\n\n\n\n<p>&lt;!DOCTYPE Catalog SYSTEM \u201cbuyerslist.dtd\u201d&gt;<\/p>\n\n\n\n<p>&lt;List&gt;<\/p>\n\n\n\n<p>\u2026<\/p>\n\n\n\n<p>&lt;\/List&gt;<\/p>\n\n\n\n<p><em>The DOCTYPE declaration above contains a reference to a DTD file<\/em>.<\/p>\n\n\n\n<p><strong>buyerslist.dtd:<\/strong><\/p>\n\n\n\n<p>&lt;?XML version=\u201d1.0\u201d standalone=\u201dyers\u201d?&gt;<\/p>\n\n\n\n<p>&lt;!DOCTYPE List<\/p>\n\n\n\n<p>[<\/p>\n\n\n\n<p>&lt;!ENTITY loc \u201cUsha\u2019s Bookstore\u201d&gt;<\/p>\n\n\n\n<p>&lt;!ELEMENT List (Book+)&gt;<\/p>\n\n\n\n<p>&lt;!ELEMENT Book (Title,Author*,Publisher*,Pub_Date*)&gt;<\/p>\n\n\n\n<p>&lt;!ELEMENT Title (#PCDATA)*&gt;<\/p>\n\n\n\n<p>&lt;!ATTLIST Title ISBN CDATA #REQUIRED&gt;<\/p>\n\n\n\n<p>&lt;!ELEMENT Author (#PCDATA)*&gt;<\/p>\n\n\n\n<p>&lt;!ATTLIST Author Status CDATA #IMPLIED&gt;<\/p>\n\n\n\n<p>&lt;!ELEMENT Publisher (#PCDATA)*&gt;<\/p>\n\n\n\n<p>&lt;!Element Pub_Date (#PCDATA)*&gt;<\/p>\n\n\n\n<p>]&gt;<\/p>\n\n\n\n<p>&lt;!-- Beginning of the Body -- &gt;<\/p>\n\n\n\n<p>&lt;List&gt;<\/p>\n\n\n\n<p>\u2026<\/p>\n\n\n\n<p>&lt;\/List&gt;<\/p>\n\n\n\n<p>Here, the DTD Code comes after the declaration and the root element.<\/p>\n\n\n\n<p>&lt;!DOCTYPE Catalog [ <strong>DTD Code<\/strong> ]&gt;&nbsp;<\/p>\n\n\n\n<p>That is the entire set of elements beginning from &lt;!ENTITY lic \u201cUsha\u2019s Bookstore\u201d&gt; upto &lt;!ELEMENT Pub_Date (PCDATA)*&gt;, this whole set of coded elements is called <strong>DTD Code<\/strong> and is also known as an <em>internal subset<\/em> if you include DTD in your XML Document.<\/p>\n\n\n\n<p><strong>10.Which is a valid string name in XML?<\/strong><\/p>\n\n\n\n<p>Element names must start with a letter or underscore. Element names cannot begin with the letters XML (or XML, or XML, etc.) Element names can contain letters, digits, hyphens, underscores, and periods. Element names cannot contain spaces.<\/p>\n\n\n\n<p><strong>11.What is the name of the python 2.x library to parse XML data?<\/strong><\/p>\n\n\n\n<p>XML.etree.ElementTree<\/p>\n\n\n\n<p><strong>12.How to get attribute value in XML using php?<\/strong><\/p>\n\n\n\n<p>&lt;?php<\/p>\n\n\n\n<p>$XML=simpleXML_Load_file(\u201csaleslist.XML\u201d) or die(\u201cError: cannot create object\u201d);<\/p>\n\n\n\n<p>for ($x=0; $x&lt;6; $x++)<\/p>\n\n\n\n<p>echo $XML -- &gt; book[$x] -- &gt; title[\u2018bookname\u2019] . \u201c&lt;br&gt;\u201d;<\/p>\n\n\n\n<p>?&gt;<\/p>\n\n\n\n<p>saleslist.XML - is the name of the file we are calling using PHP.<\/p>\n\n\n\n<p>bookname - is the item we are calling for output.&nbsp;<\/p>\n\n\n\n<p>Here, x is the attribute.<\/p>\n\n\n\n<p><strong>13.What is the difference between XML and HTML?<\/strong><\/p>\n\n\n\n<p><strong>HTML<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTML was designed to display data.<\/li>\n\n\n\n<li>HTML tags are predefined.<\/li>\n\n\n\n<li>HTML tags are case sensitive.<\/li>\n\n\n\n<li>It is not mandatory to close the tag.<\/li>\n\n\n\n<li>stylesheets for HTML are optional.<\/li>\n\n\n\n<li>HTML is static in nature.<\/li>\n<\/ul>\n\n\n\n<p><strong>XML<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It is used to describe data &amp; focus on what data is.<\/li>\n\n\n\n<li>XML tags are not predefined.<\/li>\n\n\n\n<li>XML tags are not case sensitive.<\/li>\n\n\n\n<li>It is mandatory to close the tag.<\/li>\n\n\n\n<li>Stylesheets for XML called XSL are compulsory for the formatting of data.<\/li>\n\n\n\n<li>XML is dynamic in nature.<\/li>\n<\/ul>\n\n\n\n<p><strong>14.List some benefits of XML.<\/strong><\/p>\n\n\n\n<p><em>Structured Data<\/em>: Applications can extract the information they need.<\/p>\n\n\n\n<p><em>Data exchange<\/em>: This allows you to exchange database contents or other structured information via the internet.<\/p>\n\n\n\n<p><em>Self-describing<\/em>: XML is readable and understandable<\/p>\n\n\n\n<p><em>Search engines<\/em>: Increases in search relevancy because of contextual information found in XML documents.<\/p>\n\n\n\n<p><strong>15.What do you mean by SAX in XML?<\/strong><\/p>\n\n\n\n<p>Simple API for XML \u2013 SAX is an event-driven algorithm to parse XML documents with API.<\/p>\n\n\n\n<p><strong>16.Are there any rules to be followed when you write an XML document? What are they?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>All XML must have a root element.<\/li>\n\n\n\n<li>All tags have distinct start and end components.<\/li>\n\n\n\n<li>All attribute values are quoted.<\/li>\n\n\n\n<li>Empty elements are formatted correctly.<\/li>\n<\/ul>\n\n\n\n<p><strong>17.What do you mean by XSL?<\/strong><\/p>\n\n\n\n<p>Extensible Stylesheet Language - XSL is one of the stylesheets for XML apart from Cascading Style Sheets (CSS).<\/p>\n\n\n\n<p><strong>18.List the differences between XML DTD and XML schema or XSD.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>DTD<\/strong><\/td><td><strong>XSD<\/strong><\/td><\/tr><tr><td>Stands for Document Type Definition.<\/td><td>Stands for XML Schema.<\/td><\/tr><tr><td>Derived from SGML syntax.<\/td><td>Written in XML.<\/td><\/tr><tr><td>Doesn\u2019t support datatypes.<\/td><td>Supports data types for elements and attributes.<\/td><\/tr><tr><td>Doesn\u2019t support namespace.<\/td><td>Supports namespace.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>19.What is element and attribute in an XML document? Define with example.<\/strong><\/p>\n\n\n\n<p><strong>Element in XML:<\/strong><\/p>\n\n\n\n<p>Element in XML has starting and ending tags, which also holds text, pictures and attributes.<\/p>\n\n\n\n<p><em>Example<\/em>:<\/p>\n\n\n\n<p>&lt;name&gt;The Great Learning&lt;\/name&gt;<\/p>\n\n\n\n<p><strong>Attribute in XML :<\/strong><\/p>\n\n\n\n<p>Attributes in XML must be quoted, such as text strings and URLs. Other values such as images, heights and font size give the desired results regardless of the quotation.<\/p>\n\n\n\n<p><em>Example<\/em> :<\/p>\n\n\n\n<p>&lt;person gender=\u201dfemale\u201d&gt; <em>or <\/em>&lt;person gender=\u2019male\u2019&gt;<\/p>\n\n\n\n<p>Attribute in XML can use both single and double quotes in a specific element in any combination.<\/p>\n\n\n\n<p><em>Example<\/em> :<\/p>\n\n\n\n<p>&lt;flower name=\u201dlotus\u201d \u2018rose\u2019 \u2018lily\u2019&gt;<\/p>\n\n\n\n<p><strong>20.What do you mean by XML data binding? Why is it used?<\/strong><\/p>\n\n\n\n<p>XML data binding refers to the reading and writing of XML data using a programming language. XML data binding usually occurs using a class library (like C++, Java ), specifically for the given XML data format.<\/p>\n\n\n\n<p>With XML data binding, applications can directly access the required data with the XML file\u2019s created APIs instead of relying on the Document Object Model (DOM) to retrieve the data from the XML file.<\/p>\n\n\n\n<p><strong>21.Explain XMLReader class.<\/strong><\/p>\n\n\n\n<p>XMLReader is read-only access to a set of XML data in an XML file or document; this process is less memory-consuming. It lets you run through the XML content one element at a time while allowing you to look at the value and then moves on to the next element.&nbsp;<\/p>\n\n\n\n<p><strong>22.What do you understand by XML encoding error?<\/strong><\/p>\n\n\n\n<p>XML Encoding error is given out as an \u2018<em>error output\u2019 <\/em>when the validator finds something wrong with the file\u2019s encoding.&nbsp;<\/p>\n\n\n\n<p>There are two types of XML encoding error :<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invalid character found in text.<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switching between two different encodings.<\/p>\n\n\n\n<p><em>Invalid Character found in text<\/em> :&nbsp;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;You will find this type of encoding error if XML contains non-ASCII characters, and the file was saved as a single byte ANSI with no encoding specified.<\/p>\n\n\n\n<p><em>Switching between two different encodings<\/em> :<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;You will find this type of encoding error if the double-byte encoding XML file is without encoding or if the same double-byte encoding XML file consists of single-byte encoding.<\/p>\n\n\n\n<p><strong>23.Is XML case sensitive?<\/strong><\/p>\n\n\n\n<p>Yes, XML is both case-sensitive and case-insensitive. XML tags, Attribute names, Attribute values are case sensitive.<\/p>\n\n\n\n<p>But certain enumerations are case insensitive in XML, such as the use of XSLT.<\/p>\n\n\n\n<p><strong>24.What do you mean by XML Namespace?<\/strong><\/p>\n\n\n\n<p>XML Namespace is used to provide unique named elements and attributes in an XML document. When you create a Namespace for the first time, it should be in <strong>URI format<\/strong>.<\/p>\n\n\n\n<p><strong>25.What is SGML?<\/strong><\/p>\n\n\n\n<p>SGML stands for Standard Generalized Markup Language, which is a standard for defining markup languages for documents. SGML has the advantage of not being dependent on any specific application. SGML comes from GML, which stands for Generalized Markup Language, allowing users to work on standardised formatting styles.<\/p>\n\n\n\n<p>Standard generalised markup language has two features:<\/p>\n\n\n\n<p>Descriptive Markup<\/p>\n\n\n\n<p>Document Types<\/p>\n\n\n\n<p><strong>26.What is the structure of XML?<\/strong><\/p>\n\n\n\n<p>XML documents have a hierarchical tree structure, called an XML tree. XML documents must contain a root element (one that is the parent of all other elements). All elements in an XML document can have sub-elements, text and attributes.<\/p>\n\n\n\n<p><strong>27.How to create an XML sitemap?<\/strong><\/p>\n\n\n\n<p>Step 1: Review the structure of your pages.<\/p>\n\n\n\n<p>The first thing you need to do is look at your website\u2019s existing content and see how everything is structured.<\/p>\n\n\n\n<p>Step 2: Code your URLs<\/p>\n\n\n\n<p>Format each URL with XML tags for each page, which you wish the search engine to crawl for search results.<\/p>\n\n\n\n<p>Step 3: Validate the code.<\/p>\n\n\n\n<p>Validate code with tools like XML SiteMap Validator<\/p>\n\n\n\n<p>Step 4: Add your sitemap to the root and robots.txt<\/p>\n\n\n\n<p>Locate the root folder of your website and add the sitemap file to this folder and also to robots.txt<\/p>\n\n\n\n<p>Step 5: Submit your sitemap.<\/p>\n\n\n\n<p>Submit your website to Google Search Console.<\/p>\n\n\n\n<p><strong>28.What is an XML parser?<\/strong><\/p>\n\n\n\n<p>An XML parser is a software library that provides an interface for client applications to work with XML documents.<\/p>\n\n\n\n<p>Working of XML Parser: XML Document which undergoes XML parser (usually the API part), and then this API is used in <em>Client Applications<\/em>.<\/p>\n\n\n\n<p>There are two types of XML parser :<\/p>\n\n\n\n<p>1.DOM&nbsp;<\/p>\n\n\n\n<p>2.SAX<\/p>\n\n\n\n<p><strong>29.What is the ITR XML file?<\/strong><\/p>\n\n\n\n<p>ITR stands for<em> Income Tax Return<\/em>, ITR XML file stands for an XML file that stores income tax information.<\/p>\n\n\n\n<p>This brings us to the end of the XML Interview questions. You are now better equipped to face an XML Interview boldly. <br>To learn more about XML in detail, check out <a href=\"https:\/\/www.mygreatlearning.com\/blog\/xml-tutorial\/\" data-type=\"URL\" data-id=\"https:\/\/www.mygreatlearning.com\/blog\/xml-tutorial\/\" target=\"_blank\" rel=\"noreferrer noopener\">this XML Tutorial<\/a> to sharpen your XML skills.  <\/p>\n\n\n\n<p>Wondering where to learn the highly coveted in-demand skills for free? Check out the courses on&nbsp;<a href=\"https:\/\/www.mygreatlearning.com\/academy\/#our-courses\" target=\"_blank\" rel=\"noreferrer noopener\">Great Learning Academy<\/a>. <br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro. 1.What is XML? XML stands for - eXtensible Markup Language . XML lays down the framework for defining markup languages. XML is neither programming nor a presentation language. XML is generally used to store text [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":26656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","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":"set","ast-page-background-enabled":"default","ast-page-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":"","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-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":"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":""},"mobile":{"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":""}},"footnotes":""},"categories":[25860],"tags":[],"content_type":[],"class_list":["post-26653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Top XML Interview Questions and Answers<\/title>\n<meta name=\"description\" content=\"XML Interview Questions: Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"XML Interview Questions and Answers\" \/>\n<meta property=\"og:description\" content=\"XML Interview Questions: Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-29T18:25:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-18T08:30:47+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"XML Interview Questions and Answers\",\"datePublished\":\"2021-12-29T18:25:00+00:00\",\"dateModified\":\"2024-11-18T08:30:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/\"},\"wordCount\":2315,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/shutterstock_554258029.jpg\",\"articleSection\":[\"IT\\\/Software Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/\",\"name\":\"Top XML Interview Questions and Answers\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/shutterstock_554258029.jpg\",\"datePublished\":\"2021-12-29T18:25:00+00:00\",\"dateModified\":\"2024-11-18T08:30:47+00:00\",\"description\":\"XML Interview Questions: Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/shutterstock_554258029.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/shutterstock_554258029.jpg\",\"width\":1000,\"height\":667,\"caption\":\"xml interview questions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/xml-interview-questions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IT\\\/Software Development\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/software\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"XML Interview Questions and Answers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Top XML Interview Questions and Answers","description":"XML Interview Questions: Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro.","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:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/","og_locale":"en_US","og_type":"article","og_title":"XML Interview Questions and Answers","og_description":"XML Interview Questions: Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2021-12-29T18:25:00+00:00","article_modified_time":"2024-11-18T08:30:47+00:00","og_image":[{"width":1000,"height":667,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"XML Interview Questions and Answers","datePublished":"2021-12-29T18:25:00+00:00","dateModified":"2024-11-18T08:30:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/"},"wordCount":2315,"commentCount":0,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg","articleSection":["IT\/Software Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/","url":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/","name":"Top XML Interview Questions and Answers","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg","datePublished":"2021-12-29T18:25:00+00:00","dateModified":"2024-11-18T08:30:47+00:00","description":"XML Interview Questions: Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg","width":1000,"height":667,"caption":"xml interview questions"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/xml-interview-questions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"IT\/Software Development","item":"https:\/\/www.mygreatlearning.com\/blog\/software\/"},{"@type":"ListItem","position":3,"name":"XML Interview Questions and Answers"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg",1000,667,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029-300x200.jpg",300,200,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029-768x512.jpg",768,512,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg",1000,667,false],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg",1000,667,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg",1000,667,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg",640,427,false],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg",96,64,false],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2021\/03\/shutterstock_554258029.jpg",150,100,false]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"Here are the top XML Interview questions that will help you ace those nerve-wracking and perplexing interviews like a pro. 1.What is XML? XML stands for - eXtensible Markup Language . XML lays down the framework for defining markup languages. XML is neither programming nor a presentation language. XML is generally used to store text&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/26653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=26653"}],"version-history":[{"count":14,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/26653\/revisions"}],"predecessor-version":[{"id":110703,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/26653\/revisions\/110703"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/26656"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=26653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=26653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=26653"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=26653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}