XML symbolizes Extensible Mark-up Language and it's a mark-up language designed for moving and also showing data or data throughout the internet, in a consistent and as planned fashion regardless of the systems or internet browsers being used. Hence XML is entirely system independent and it is obtainable freely.
XML was actually conceived to replace SGML and HTML, each of which are usually also mark-up languages though had their own boundaries and also constraints. For instance, SGML was in fact very complex and expensive, this made it very difficult to use for the web, especially since it wasn't being sustained by any of the commercial internet browsers.
In terms of HTML, despite being for free and also widely supported, it had a variety of major problems which made it unsuitable for use carrying data over the internet.
Thus XML was developed out of SGML by a team of IT experts from IBM and Sun, who used the best parts of SGML and eliminated the rarely used, complicated and awkward parts. The outcome was a simple, extensible and open specification which was only 26 pages long, when compared with well over 500 pages that the SGML specification came with.
So that’s principle history v XML, let’s right now take a glance at what exactly XML is and what it looks like.
In relation to its code syntax, XML is similar to HTML, i.e. you have an opening tag that looks like <xml>, and a closing tag that looks like </xml>
Except for the opening and closing tags, the remainder of an xml file is just sets of opening and closing tags with data (jointly, the tags and data are named XML Elements).
Having given a brief history on XML and going for a quick look at exactly what it looks like, lets now dive directly into the pros and cons, beginning of course with the pros.
The first and most apparent edge is the fact that contrary to HTML, XML tags have no semantic meaning; because of this you’re not bound in to using limited tags, one example is, in HTML you have to use the body tag to set your body elements or the head tag to place the head elements.
With XML you actually make your own tags to suit your needs and you can place whatever you like in between your tags, there are no limitations inside the rules e.g. with HTML only body elements should go within the body tag.
Another advantage is the fact along with tags, you can also create and publish your own rules, and these rules, in contrast to HTML, need not be restricted to formatting rules, XML allows you to define all kinds of tags with all types of rules, including tags representing business rules or tags representing data description or data relationships.
In spite of the many positive aspects, there is also one important downside which has prevented XML staying more broadly used than it is at present, which would be the absence of sufficient processing applications.
With HTML for instance, you can actually use any kind of web browser to read any HTML document that is not the case with XML, since there are currently no XML internet browsers available. Thus XML documents should be changed into HTML before you distribute them or even to employ a middleware program to transform it on the fly.
With that said, parsing tools and algorithms are constantly evolving and also new improvements are making it easier than any other time to work with XML, and so a lot of people are seeing the benefits to migrating their data to XML. Finally, commercial XML tools such as Liquid XML Editor can certainly tremendously transform your capacity to work with and edit XML based files and documents.
A far more comprehensive account of XML can be obtained from this XML guide or you can check out the W3C website for more information.
No comments:
Post a Comment