XML

What is XML?

Standing for eXtensible Markup Language, XML is a set of rules to construct, collect, and pass information.


Difference Between XML & HTML

While XML was created to transfer and stock data, HTML was designed to show data. Also, unlike HTML, XML tags are not predetermined and allow users to assign their own tags and their document format.


XML Benefits

1. XML is processed easily by computers and the information coded is simple to comprehend and read.
2. Tags are not set and can be created when needed.
3. XML documents support any type of data (i.e. video, image).
4. XML is not focused on presentation but on what the document means.
5. XML is an international standard.
6. XML is a very cross platform mark up language used in websites, web applications, software development, etc.


A Few XML Rules

1. Close all XML element tags

XML elements start with an open tag <> and a close tag </>. A XML element contains the information in  the document.

XML requires a closing tag on each element, as displayed in the above example.

2. XML tags are case sensitive

XML tags have to be written with the similar case. In the above example, the first line is wrong because the opening tag <Paragraph> is written in upper case while the closing tag </paragraph> is written in lower case.

3. XML elements must be consistent

In the example above, the line one is incorrect because <b> opened on the inside and closed on the outside. If <b> opens on the inside it should also close on the inside (demonstrated on line 2).

4. Place XML attributes in quotes

XML attributes provide more information about the tag element and must be in quotes.


XML Resources

W3Schools.com

Ready to discuss your project?
Request a Quote
Blue Fountain Media is recognized as a
Top Digital Agency by
Ranked #1 Interactive
Agency by top interactive agencies example
Ranked Top 10 Digital
Agency by awwwards logo
Ranked Top 10 Agency
Worldwide by IMA logo
Featured Blog Article
Download our Free Whitepapers
Our Locations
New York Headquarters
New York Headquarters
102 Madison Avenue - Second Floor
New York, NY 10016
Chicago Office
Chicago Office
222 Merchandise Mart Plaza, Suite 1212
Chicago, IL 60654
Seattle Office
Seattle Office
14980 NE 31st Way, Suite 120
Redmond, WA 98052