Introduction to XML(1)

Introduction to XML(1) - HTML was designed to display data...

Info iconThis preview shows pages 1–9. 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
XML was designed to describe data, and to focus on what data is. HTML was designed to display data, and to focus on how data looks.
Background image of page 2
What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML. XML was designed to describe data. XML tags are not predefined in XML. You must define your own tags. XML uses a DTD (Document Type Definition) to describe the data. 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
Difference between XML and HTML XML was designed to carry data. XML is not a replacement for HTML. XML is a complement to HTML
Background image of page 4
XML and HTML were designed with different goals: XML was designed to describe data and to focus on what data is.
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

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

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: HTML was designed to display data and to focus on how data looks. HTML is about displaying information, XML is about describing information. XML was not designed to DO anything Example <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> XML is free and extensible XML tags are not predefined. You must "invent" your own tags. How can XML be Used? It is important to know that XML was designed to store,carry and exchange data. It was not designed to display data. XML can Separate Data from HTML With XML, your data is stored outside your HTML. XML is used to Exchange Data XML can be used to Share Data...
View Full Document

This note was uploaded on 07/15/2011 for the course ECO 2023 taught by Professor Mr.raza during the Summer '10 term at FAU.

Page1 / 9

Introduction to XML(1) - HTML was designed to display data...

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

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