XML1 - Introduction to XML What is XML? XML stands for...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to XML
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is XML? XML stands for E X tensible M arkup L anguage XML is a markup language much like HTML. XML is a subset of SGML (Standard Generalized Markup Language) a complex markup language used in publishing.
Background image of page 2
What is XML? XML was designed to describe data . XML tags are not predefined in XML. You define your own tags . XML uses a DTD ( Document Type Definition ) to define the “tags”. XML with a DTD is designed to be self describing .
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The main difference between XML and HTML XML focuses on what data is. It does not do anything to the data. HTML was designed to display data and to focus on how data looks. HTML is about displaying information, XML is about describing information. (Both are cross-platform, software and hardware independent text files).
Background image of page 4
XML can Separate Data from HTML When HTML is used to display data, the data is stored inside your HTML. With XML, your data is stored outside your HTML. Data can be stored in separate XML files. This way you can concentrate on using HTML for data layout and display, and be sure that changes in the underlying data will not require any changes to your HTML. With XML, data can be exchanged between incompatible systems.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XML Syntax The Syntax rules of XML are very simple and very strict The rules are very easy to learn, and very easy to use.
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 27

XML1 - Introduction to XML What is XML? XML stands for...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online