Hello everyone, and welcome you all. So today is very exciting day, because today we're going to talk about XML. Okay, so what is the next number? So this we will be discussing about in a two-day session along with will be also taking you to words a little bit hands on and some detailed description about an accessible so that you will get the complete Clarity of what accessible really does. So let's get started. So first of all, what we have it today, we will be talking about introduction to assemble features of XML, some advantages of XML limitations of XML and the comparison between HTML versus XML, and then we'll be having a demo. Now let's get started about an XML. So we're going to start with the introduction. What is the next Summit? See, typically we say XML stands for extensible markup language. It is the language which we use it for machine. Okay, so that we can send some instructions to our, I would say computerised developed containers, or some software's, because XM is the one of the very, very easy language which we use it. But it is not for human human. This is like it is not designed to be read by human.
It is designed to be read by your computer components. So it is designed to send store and receive to display the data. So it is actually a platform and programming language independent at me to talk about it as a platform and language, independent language, and where the HTML comes with predefined tag eczema doesn't have any pity tag. That means you go and read your own tags. Okay, well, let's quickly talk about the features of XML. See, as I said, extensible and human readable humility means it is not like an assembly language which human cannot read it. Okay. It is not a machine language which human cannot read it. Human can read it, but it is not a human friendly the way you see the typical languages out there. Okay, it preserves of the white spaces. So if you give the extra spaces, so white spaces are actually preserved here. So the best part is what it is, more simple to use and Implement. Okay. And XML is all about holding the data when HTML is responsible for presenting the data. So normally we say HTML is designed for presenting what data we are trying to offer it to display an XML is talking about what data is okay. So they are too different ideas now and define tags. That means you go and create your own tags here. So it is primarily known for holding the data. So if you want to send some information received some information, you put it into the XML. So it is a well structured format. So we know it. Xml is w3c standard, so it contains all the necessary structure, information and step descriptive in nature, because while seeing that you can self you easily make it out, what is going on inside? No advantages of XML. Now, the first is, it is a platform independent. It supports a standard Unicode B character set. And whenever you want to transport any data while sending from one language to another language, you can easily do that.
So overall, I can say, like their two languages, which wants to communicate with each other like innet in Java. So neither dotnet needs to know about a Java, not Java needs to know about dotnet, but they can send the data to each other in the form of symbol, which both of them know how to interpret. So that is the best part of the XML. So you can see it is a completely compatible with Java and 100% portable. In fact, XML can be also be compatible with other languages to like in PHP and dotnet and Lon. Okay. So, as I discussed with you for the sharing, the information and when you want to talk about the DTD called document type definition, this is the very old in simplified of the example where the DTD will Define the schema saying that, hey, this is what a document must be formatted in that way. So when it comes to the formatting, like you, talk about document has to have these many field. So you talk about these things when it comes to the DTD into picture, no, the limitations of XML number one. As I discussed with you, it is verbose at generated compared to the Jason, because Jason is the modern day language, which we use it compared to the XML, Which is far more easier. But you cannot avoid. You cannot ignore the presence of XML in the current market. High storage Transportation costs for large volume data, but obvious, because when you send some information in the form of XML, so certainly require some additional pastures which each to parse the data and for that heavy posit, requires more memory and more storage to if it doesn't support an array. Okay. So just support the normal, I would say, the string data, which you want to carry it. Now. Okay, so it is file size the usually large, because due to its were both in nature. So there are some limitations are available in XML. Okay, so HTML versus XML I told you earlier, HTML is all about how to display an XML is all about what data is. Okay.
Html is a markup language. Xml is also markup language, but it is all about it offers a framework to define the markup language. It is not a case sensitive HTML XML is the case, sensitive HTML has its own predefined tags XML. You go and create your own tags as per your own need. So HTML contains are more static in nature. Xml is more dynamic because it is designed to transport the data from one source with another source here. So it doesn't preserve I Spades. But yes, XML does preserve the white spaces, and then we'll talk about devil. Okay, everyone. So let's get started. It's a demo time now. So here I will tell you about how to develop the XML document. So here, if you see, I have a good visual studio code. This Visual Studio code is very simple and easy to use editor. And as a front-end developer, it is one of the most favorite tool for every users nowadays. Now here, if you want to develop this xml-based. So here we have some Solutions available. If you click on extension and search, for example. So you will see there are some okay. So XML tools are available. I can formatting. Okay, XML document. So you see, the reason is simple XML format, which is there. Okay, which you can use it now. So there are multiple tools are available. Casino XML. Okay, so you have got multiple tools, which are there, which you can use it anywhere to conceive for X1 formatting XPath as query. So multiple options are there, which we can use it as per your requirement. Okay, so it's up to, you know which one? You want to pick it up. Okay. So this is the XML format is a one of the tool which is there so you can use it so I can use this XML format is, is one of the very, very common to which is there. I'm installing this.
Well, I close this, and I go back to my code and create the new file and give the name called anything. Suppose if I get the name cook employee to taxable. Okay. And now you can see the 6th region automatically appears and inside the sex symbol. Okay, so if I want to go ahead and start developing this code one by one, so how to start now. So the first thing I would like to always starts with my details from saying employees. Okay? So you can see now it is also offering him support for closing this tag. So here after that, I will be using so input by saying employing and inside this employee. I'll be giving the ID and say, I'd equal to single course. I can just give the value called like this. Okay. And now employment, closing this going forward, I can use the first name. So you see like in a first in, because he these tags, which I'm talking about there are custom tags. They're not predefined you. I'm just giving the name call John here and after this. Okay, so I know which is John. I just got the name called Styles because the last name or give any title. And here I will give you the value. So we can just say, engineer. Okay, like I can give this another one division. And here in this Division, I can offer materials. Okay. After this, I can add one more property here for building.
Building in building, I can get the property like you can say seven like this, and in the same one, we can offer on the property here. And that is called room.Okay, and I can give the room number here, which I can say, like three to seven, okay, can see room number 94 anything. So that's the first set of record, which are okay. So likewise, I can have n number of records as we really wanted. Okay, so let's add some more records here. Here to here is an employee. And let me add a few more. And here I say, format document. Google XML format, we can see it has immediately formatted your data or the complete file in a very, very beautiful way. So here we want 25. And here we can just Googling call. Vernon and we can just change the name account and change the name once again. Like this. So I like this. I'm gonna talk to a few more records, as I can see here when you want to five and give some different way if you want. Chewy, you can see. You'll be number 337 number thirty.
Okay. So, like this. I have a got some records with me. Okay? And now, if I want to see how the outcome would be, so I can just right click and select billing, find it. And here when I right click and choose open with my Chrome browser, so you will see this is how the document appears like they'll be nothing. Every browser does contain the same format, whether you use Chrome, whether you use my to Microsoft Edge or any of the browser's option going to be remains sing. So now we talk about one more that is called Jason for matter. And we are chasing. Xml is also very, very popular tool. We can see Excel formatting from here. You can see the tree structure. So here I just copy the code and paste it here. So that Fort my code, which is there with me. So if I just want to check format beautify. So this is how the court would actually look like an okay. If I want to say XML tree, we can see like the one object name column. He's under this vehicle. Three objects are available, and every object will have seven child inside this. So this is how the tree is going to really look like it. So this is for matter, can really offer something very, very interesting. And if you want to confirm, Minify your compact.