WTA2_Intro_to_XML

WTA2_Intro_to_XML - eXtensible Markup Language ML(XML Text Books • Programming the World Wide Web 4th Edition Robert W Sebesta rogramming the web

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: eXtensible Markup Language ML) (XML) Text Books • Programming the World Wide Web, 4th Edition, Robert W. Sebesta rogramming the web using XML, Ellen Pearlman, Eileen 1 Subject Incharge Pratidnya S. Hegde Patil • Programming the web using XML, Ellen Pearlman, Eileen Mullin, TMGH • XML & Related Technologies, Atul Kahate Meaning b A markup language for creating documents ontaining tructured formation containing structured information. s Markup Language : Mechanism to identify structures in a document. s Structured Information : b Contains content (text, image, etc.) 2 b Contains indication of what role the content plays (eg. heading, footnote, address, etc.) b Can define your own tags. Advantage of XML b Application Programs use the meanings of e gs nd pecific inds f ata nd the tags to find specific kinds of data and process it accordingly. b Rules of XML and rules of specific XML- based markup language allow documents e alidated efore ny pplication 3 to be validated before any application attempts to process their data. XHTML vs. XML b XHTML describes the overall layout and ome resentation ints r eneral some presentation hints for general information. b XML-based markup languages describe data and its meaning through their dividualized gs nd ttributes ML 4 individualized tags and attributes. XML does not specify any presentation details. XHTML vs. HTML Both are markup languages, but have some ifferences differences: b In HTML, both the tag set and tag semantics are predefined and fixed. b XML specifies neither a tag-set nor semantics. 5 s Provides facility to define tags. s Semantics defined by applications that process the documents (or by stylesheets). s XML is thus a meta language for describing markup languages. XHTML vs HTML 6 XML b Used to define the structure and meaning of a document and to modify the look and formatting of text. In addition to formatting text, markup can lso e sed etermine e tructure nd eaning f xtual lements also be used to determine the structure and meaning of textual elements. b Example : s Markup can establish that a document can contain only the elements Name, Birthday, and Age. s It can also insist that the document cannot contain Birthday and Age elements unless it contains a Name element. 7 s Markup can then state that the Name element must be text, the Birthday element must be a date, and the Age element must be a number. s In this way, the markup sets up the structure of the document and defines the semantic meaning of the elements. Example b Defining a document with markup lements to represent a fast od elements to represent a fast-food restaurant’s combination meal, containing burger, drink and fries. b Required : s To be sent to suppliers for restocking....
View Full Document

This note was uploaded on 09/04/2011 for the course IT 103 taught by Professor Php during the Spring '11 term at University of Mumbai.

Page1 / 63

WTA2_Intro_to_XML - eXtensible Markup Language ML(XML Text Books • Programming the World Wide Web 4th Edition Robert W Sebesta rogramming the web

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