XML Files

XM-What now? XML stands for Extensible Markup Language. By using tags, the XML file can be read easily by both computers and humans. You might think that it’s also similar to HTML(Hypertext Markup Language), but the difference is all in the name; XML is extensible. Users can create their own markup symbols in XML, there is no predefined language. The major use of XML is to store data; HTML, however, is utilized to present data.

Let’s analyze and define segments to a XML document.

First, you will normally have an XML Declaration, which is used to declare a file. You don’t need to use a declaration, but it can be important to have.

Next we have the XML Elements, common logical components of the document. These

The next important value to keep in mind is Attributes. Attributes are the actual values given to each element.

In conclusion, XML documents are important to store data in a logical way.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.