McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Overview of XML Ellen Pearlman Eileen Mullin Programming the Web Using.

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

Getting a Taste of Cascading Stylesheets Steve Mooradian December 14, 2005.
Web Technologies By Andreas Vetter and Yong Soo Deutschle.
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
History Leading to XHTML
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
Tutorial 1 Developing a Basic Web Page
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
System Integration (Cont.) Week 7 – Lecture 2. Approaches Information transfer –Interface –Database replication –Data federation Business process integration.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Developing a Basic Web Page with HTML
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Developing a Basic Web Page Posting Files on UMBC
1st Project Introduction to HTML.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
CNIT 133 Interactive Web Pags – JavaScript and AJAX Review HTML5.
Chapter ONE Introduction to HTML.
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
August Chapter 1 - Introduction Learning XML by Erik T. Ray Slides were developed by Jack Davis College of Information Science and Technology Radford.
XP 1 HTML: The Language of the Web A Web page is a text file written in a language called Hypertext Markup Language. A markup language is a language that.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Schemas Ellen Pearlman Eileen Mullin Programming the Web Using XML.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Comparing HTML, XML, and XHTML Ellen Pearlman Eileen Mullin Programming.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
TEXT ENCODING INITIATIVE (TEI) Inf 384C Block II, Module C.
Tutorial 1: XML Creating an XML Document. 2 Introducing XML XML stands for Extensible Markup Language. A markup language specifies the structure and content.
Avoid using attributes? Some of the problems using attributes: Attributes cannot contain multiple values (child elements can) Attributes are not easily.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SMIL Ellen Pearlman Eileen Mullin Programming the Web Using XML.
Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Introducing XHTML: Module A: Web Design Basics.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
XHTML1 Introduction to Web Pages Chapter 1. XHTML2 Objectives In this chapter, you will: Learn about the World Wide Web (WWW) Create simple Hypertext.
XML and Digital Libraries M. Zubair Department of Computer Science Old Dominion University.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Scripting with the DOM Ellen Pearlman Eileen Mullin Programming the Web.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
1 Introduction to XML XML stands for Extensible Markup Language. Because it is extensible, XML has been used to create a wide variety of different markup.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Understanding How XML Works Ellen Pearlman Eileen Mullin Programming the.
XML Design Goals 1.XML must be easily usable over the Internet 2.XML must support a wide variety of applications 3.XML must be compatible with SGML 4.It.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Tutorial 1 Developing a Basic Web Page. Objectives Learn the history of the Web and HTML Describe HTML standards and specifications Understand HTML elements.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 2: Markup Language and Site Development Essentials © 2007 Prosoft Learning Corporation All.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XP 1Creating Web Pages with XML Tutorial 1 New Perspectives on XML Tutorial 1 – Creating an XML Document.
XHTML1 Introduction to Web Pages N100 Building a Simple Web Page.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Introducing XHTML: Module A: Web Design Basics
Introducing XHTML: Module A: Web Design Basics
HTML5 – Heading, Paragraph
Project 1 Introduction to HTML.
Creating an XML Document
Introducing HTML & XHTML:
Presentation transcript:

McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Overview of XML Ellen Pearlman Eileen Mullin Programming the Web Using XML

1-2 Learning Objectives 1.The history of XML 2.Understanding XML’s importance working with multiple platforms 3.Content and data sharing with XML 4.Using XML 5.Drawbacks of XML

1-3 The Evolution of Markup Languages Markup languages contain not only the codes that enable computers to interpret data, but also descriptive information to help humans understand the function of each element in a document. Markup languages have indicators called tags. Tags are first read and then processed by an appropriately enabled processor.

1-4 Learning the History: The Many Incarnations of SGML Into XML Researcher Charles Goldfarb coined the term “markup language” in the late 1960s while developing a project at IBM to automate the processing of legal documents. IBM’s adoption of GML (Generalized Markup Language) eventually led to the development of Standard Generalized Markup Language (SGML).

1-5 Meta-languages SGML is actually a meta-language, that is, a language that describes other text markup languages. XML’s function as its own meta-language allows it to create XML-based languages that create either documents or files used by a variety of organizations, developers and consolidated industries.

1-6 The Document Type Definition (DTD) While not a markup system itself, SGML is a programming language used to build working languages. The grammar of such a language is called its Document Type Definition (DTD) and contains its parts of speech. –XML refers to these parts of speech as the attributes, entities, elements, and notations. –A markup language’s DTD provides information about that document's structure and formatting.

1-7 Elements and Hierarchies Elements in a DTD are often allowed to contain other elements, a feature known as a hierarchy. This type of element hierarchy can also be envisioned as a branching tree diagram.

1-8 Parsers and Validation To make sure the grammar of a markup language is correct, a parser is used. A parser is a grammar checker for markup languages. A parser compares an HTML or XML document against the grammar in a process called validation, to ensure there are no mistakes.

1-9 How Validation Works If a document follows the rules listed in its DTD (or Schema), then it is said to be valid. If the document has markup errors that contradict the rules of the DTD (or Schema), then it would be labeled invalid.

1-10 Advances in Markup Languages Over Time

1-11 The Origins of HTML By the early 1990s, the Internet provided a ready platform for a hypertext mechanism, but a tagging language was needed to provide a linking mechanism as well as basic text formatting. In 1991 researcher Tim Berners-Lee at the European Laboratory for Particle Physics (CERN) released a hypertext markup language called HTML using SGML syntax.

1-12 Introducing XML XML was originally developed by the XML Working Group in XML became a full W3C recommendation in February XML documents contain either parsed or unparsed character data. Some of the data is composed of characters and some is composed of markup, which describes the layout and structure of information.

1-13 Differences Between XML and HTML HTML used a certain set of predefined tags, which were augmented in subsequent versions, until it morphed into an application of XML with XHTML. Whereas HTML displays information, XML can supply its own tags and lets developers structure and define what type of information goes into their documents. Its primary focus is to describe data or information.

1-14 The Goal of Standards The ultimate goal of these standards is to make machine-understandable data on the Web fully sharable by automated programs and people. The Web needs to have the ability to scale, or grow larger or smaller based on the needs of the user. As new programs are written, older programs can be integrated into newer versions.

1-15 Creating One Document For Multiple Platforms and Devices XML is an open standard that very clearly spells out data structures and their associated content. XML does not overload applications with legacy, or leftover data, nor does it depend on a proprietary or specialized system. –A proprietary system means it is accessible only to a special group or uses a special kind of technology.

1-16 DTDs and Schemas Even as XML 1.0 was being written in February 1998, developers at the World Wide Web Consortium (W3C) were creating a Schema Recommendation to set the framework of a new modeling definition, called the XML Schema Definition Language (XSD). In XML, a schema is used to define a class of XML documents. An instance document describes an XML document that conforms to a particular schema.

1-17 Repurposing Information with XML XML Data Repository XML Stylesheet Internet Explorer Browser Wireless Phone PDA

1-18 XML Categories by Industry

1-19 Sample XML Tags baseball Yankees Derek Jeter 45

1-20 XML Tag Basics < opens an XML tag > closes an XML tag <> encloses an opening XML statement encloses an ending XML statement

1-21 XML and Metadata XML works with metadata or data about itself, which means it can know when to link to other like-minded pages if necessary. The best way to think of metadata is think about our analogy of the card catalogue. It contains information that points you towards the information you are looking for, but is not the actual information itself.

1-22 Metadata and Middleware With metadata, XML data can then be filtered by the appropriate application once the XML structure has defined the appropriate category. Developers can choose how much information to actually display. This process allows seamless integration with complex middleware architecture. –Middleware defines any programming that mediates between two separate and different programs.

1-23 Content Sharing With XML: Taxonomies Managing and categorizing content necessitates a taxonomy. Taxonomies are usually created by a combination of methods including working with librarians, users and analysts in the field. Taxonomies also use automatic spidering of terms (searching with Web with an artificial agent) and finally the use of sophisticated linguistic analysis tools.

1-24 Content Sharing With XML: Leveraging Data Repositories

1-25 Limitations of DTDs The problem with DTDs is that their syntax is not particularly flexible. Documents in XML follow one syntax and DTDs follow another. Both DTDs and Schemas perform validation against data, but DTDs are not capable of complying with C++ and Java classes. The most difficult aspect of a DTD is that it employs its own syntax, which is not the same as XML’s syntax.

1-26 Categories of XML Development From W3C

1-27 The End