Your SlideShare is downloading. ×
0
XML
XML
XML
XML
XML
XML
XML
XML
XML
XML
XML
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

XML

348

Published on

The basics of EXtensible Markup Language

The basics of EXtensible Markup Language

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
348
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. XMLBy Elizabeth Wiley
  • 2. eXtensible Markup Language Became a W3C recommendation in 1998 Subset of SGML (Standard Generalized Markup Language) Describes a class of data objects called XML documents Metalanguage (language for describing other languages) Tags are not predefined, designed to be self-prescriptive“XML is a software- and hardware-dependent tool forcarrying information.”4
  • 3. The goal of XML: Why?To enable generic SGML to be  Browsers never allowedserved, received, and SGMLprocessed on the Web in away that is not possible with  HTML is easy to corrupt or breakHTML. XML has been designedto operate with both SGML  Widespreadand HTML.  Held back development  XML fixes that by creating compulsory rules
  • 4. The Basics XML documents consist entirely of characters from Unicode (not all Unicode characters are included). Characters that make up XML are divided into markup and content. Unicode character sets are encoded into bytes for storage or transmission. The processor analyses the markup and passes structured information to an application.
  • 5. XML Document Begins with XML declaration and document type declaration Followed by Document Instance, containing root element (start/end tags) and elements enclosing the data content (text) and any attributes („name=“value”‟ pairs) Documents can be simple, with straightforward nested markup, or more complicated with Schema or DTD (describe structure of the document)
  • 6. Schema and DTD (Document Type Definition) Define the allowed parts of an XML document:  The elements and attributes that can appear  Data types, default and fixed values  Identify child elements, and their order and number  Whether an element is empty or includes text Schemas are the successors of DTDs  Extensible to future additions, richer and more powerful, support data types and namespaces, written in XML  XML Schema became a W3C recommendation in 2001
  • 7. Stylesheets (CSS and XMLT) Transform XML into HTML Allow for document management benefits of XML, but readers don‟t need XML smarts in their browsers XMLT is an document processing language that uses XML source code Declares rules for processor to use when interpreting XML document
  • 8. BrowsersCurrent versions of Internet Explorer, Firefox, Safari,Chrome, and Opera all support XML with CSS orXSLT stylesheets.Does not work with any versions of Netscape, IE6.0 or earlier, or early versions of Mozilla.
  • 9. The DifferenceXML HMTL Designed to transport and  Designed to display data store data  Focuses on how data looks Focuses on what data isXHTML is “a reformulation of HTML 4 in XML1.0”
  • 10. HTML5 Intended to include HTML and XHTML XHTML5 is an XML serialization of HTML5, meaning the data structure or object state is converted into a form that can be stored.
  • 11. Sources1 http://xml.silmaril.ie/2 http://xml.coverpages.org/xml.html3 http://en.wikipedia.org/wiki/XML4 http://www.w3schools.com/xml/xml_whatis.asp5 http://www.w3schools.com/Schema/schema_intro.asp6 http://en.wikipedia.org/wiki/Serialization7 http://en.wikipedia.org/wiki/HTML5#XHTML5

×