XML, HTML and All That What do they Mean, and Why are they Important? Ian GRAHAM Centre for Academic Technology Tel: 978-4548 Talk:

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

MA foundation Creating webpages using XHTML (part 1) Simon Mahony CCH
Introduction to HTML & CSS
Cascading Style Sheets
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
LBSC 690 Session #5 Metadata and XML Jimmy Lin The iSchool University of Maryland Wednesday, October 1, 2008 This work is licensed under a Creative Commons.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
LBSC 690: Session 5 Metadata and XML Jimmy Lin College of Information Studies University of Maryland Monday, October 8, 2007.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
An Introduction to XML: The eXtensible Markup Language Manitoba Library Associations Conference 2000 Ian Graham, Session T4, 11 May, 2000.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
4.01 Cascading Style Sheets
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application with a clean migration path from HTML 4.01 CSS: Style sheets.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Introduction to HTML. What is a Web site? A collection of "pages" or files linked together and available on the World Wide Web What do you need to create.
Basics of HTML.
Creating a Simple Page: HTML Overview
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Creating a Basic Web Page
Content Management Systems Week 5 LBSC 690 Information Technology.
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
XML, HTML and All That What do they Mean, and Why Should you Care? Ian GRAHAM Centre for Academic Technology Tel: Talk:
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
An XML Introduction Extensible Markup Language Describe Structure and Content of Data Sample XML Document.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
XHTML Presentation by Kevin See June 16, XML in HTML Meeting Report  May 11, 1998  html
Styling and theming Build campaigns in style. What we'll look at... How a web document is structured How HTML and CSS fit together Tools you will need.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
1 Labels and Tags October 14, Grammar A set of components and rules that define a method/means of communication among objects. Components are.
Chapter 13. Applets and HTML HTML Applets Computer Programming with JAVA.
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML: Hyptertext Markup Language Doman’s Sections.
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
1 Web Application Programming Presented by: Mehwish Shafiq.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
An XML Introduction Next Generation Web Data Ian GRAHAM Centre for Academic Technology Tel: Talk:
A Look at HTML (and XHTML). Types of Web Applications.
Basics of Web Based Computing. The Architecture The user’s system A Web Server What’s inside? Server software Apache or other Resources to be accessible.
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.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
The idea of adding markup instructions to documents is not new. Before computers, authors would make annotations by hand in their written or typed documents.
Introduction to the World Wide Web & Internet CIS 101.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Kynn Bartlett 11 April 2001 STC San Diego The HTML Writers Guild Copyright © 2001 XML, XHTML, XSLT, and other X-named specifications.
Unit 4 Representing Web Data: XML
XML Related Technologies
XML QUESTIONS AND ANSWERS
Introduction to XHTML.
Chapter 7 Representing Web Data: XML
Presentation transcript:

XML, HTML and All That What do they Mean, and Why are they Important? Ian GRAHAM Centre for Academic Technology Tel: Talk:

Overview zThe birth of HTML zWhy HTML was not enough zXML for data encoding zExamples of XML zSome thoughts for the future

HTML zSimple, general-purpose markup language zSimple hypermedia zOriginal idea -- ySupport collaborative authoring yMerge document authoring/viewing

HTML Evolution zStarted with very few tags … zSimple requirements yonly need to know a little bit about the tags, and then just “muddle through”) zEvolved to have more tags were added yforms, images, tables yframes, fonts, applets, embeds....

Outline zThe birth of HTML zWhy HTML was not enough zXML for data encoding zExamples of XML zSome thoughts for the future

HTML Problems (1/3) zPeople wanted additional tags yformatting other types of data zDesire for other types of data ymathematics, database entries, literary text, ‘messages’ (e.g., a purchase order) …. zDifficult/impossible with HTML yCan’t arbitrarily extend the language

HTML Problems (2/3) zSoftware processing yServer management of data zBut -- HTML is so ill- formed, this is hard! HTML Web server engine

HTML Problems (3/3) zSoftware processing yClient data processing (machine -- machine communication) zAgain, hard because - - HTML is generally so ill-formed. HTML Data processor Database, viewer, whatever.... (from somewhere on the Web...)

Three New “Patterns” zDistribution of stuff to read or see (like HTML, but more so) zModeling data inside a Web application (like a text database) zStructure of data messages sent between machines.... HTML is ok, at best, for the first....

Outline zThe birth of HTML zWhy HTML was not enough zXML for data encoding zExamples of XML zSome thoughts for the future

First Idea: Back to Basics zSince HTML is defined using SGML... yStandard Generalized Markup Language yA meta-language for defining languages yComplex, sophisticated, powerful z... Use SGML instead

Didn’t fly because... zSGML too complicated zSGML rules too strict yNo ‘loosely’ formatted data (like HTML) yNot good in a distributed environment yCan’t mix different data together xCan’t add arbitrary tags

Idea 2 -- XML: The eXtensible Markup Language zA simpler language based on SGML zCan use XML to define new languages zDistributes easily on the Web zCan mix different types of data together ycan easily add new tags, and tell a browser what to do with them (more or less....)

Basic XML Tag Syntax: zTags written as with HTML, but... zTechnical details yCase-sensitive names yAlways need end tags ySpecial empty-element yAlways quote attribute values....

XML Example: Title of text XHTML Document Heading of Page ….. And here is another paragraph, this one containing an inline image, and a line break. XML stuff

Special XML Things z ySays that this is an XML document z ySays that the meaning of the tags inside (and including) the html element belong in the same “space” of names. xmlns  XML namespace

Outline zWeb history and the birth of HTML zWhy HTML was not enough zXML model for data encoding zExamples of XML zSome thoughts for the future

Evolution of XML zMany XML languages for different roles yMathML -- for mathematics ySMIL -- for synchronised multimedia yXHTML -- XML-ized HTML yRDF -- for describing “things” yHEML -- Historical events, y.... and many others.

MathML: Mathematics zDesigned to express layout of maths zAlso can express semantics zCut & paste into Maple, Mathematica z x 2 + 4x + 4 =0 x &invisibletimes; x + 4 = 0...

XHTML: NextGen HTML Title of text XHTML Document Heading of Page here is a paragraph of text. I will include inside this paragraph a bunch of wonky text so that it looks fancy. Here is another paragraph with inline emphasized text, and absolutely no sense of humor. And another paragraph, this one with an <img src="image.gif" alt="waste of time" /> image, and a line break.

XHTML zJust like HTML, but with XML syntax zXML model, however, supports integration of different data / languages inside a single XML document:

XHTML and other data Title of XHTML Document Heading of Page … MathML markup … more html stuff goes here … SMIL markup …

Displaying XML zMore complicated than HTML yXML only represents a data structure, not how it looks yNeed extra instructions (a “style sheet” document) to define how things should look ySee example pages on associated Web site.

HTML Processor XML Processor Default rules for HTML markup and formatting Data input HTML XML Rendered / displayed content CSS style sheet(s) No default markup/ formatting rules CSS and/or XSL style sheet(s) + + Namespace- declared processors and rules +

Other Use: Data Abstraction zXML as a format for data interchange yMachines exchange data as XML messages yEliminates proprietary base-level syntax yLots of XML processing software available

Resource/Rich Site Summary zTool for distributing news headlines zUsed by many news services, including: yNetscape Webcenter yMeerkat ( ) ySlashdot ( yMoreover ( RSS --

Actualités Netscape Actualité Netscape - À la une fr Netscape Netcenter RSS Example

Generic XML Messages: Factory/DB Supplier/DB Place order  request/send data Response

Outline zThe birth of HTML zWhy HTML was not enough zXML for data encoding zExamples of XML zSome thoughts for the future

Future Trends zXML for modeling information about things, or resources zDistributed models for managing, linking, and sharing XML information z“Cooperative information Webs” also called.... “The Semantic Web”

Example: HEML zHistorical Event Markup and Linking yA standard, flexible and extensible means of encoding an historical event or series of events in electronic form zLets you create Webs of historical data, cross-related using HEML markup.

Example HEML Record Attack on Gallipoli Gallipoli Peninsula

Example: Data Syndication zA generic mechanism for exchanging “chunks” of information zLets sites / databases / research projects exchange many different types of data zCan contain HEML, RSS, and other data in the same message zhttp://

info about the aggregator metadata about the item the data itself -- this could be HEML, RSS, or whatever additional items in the message Syndication Example

Request new HEML stuff, plus popular news (RSS) and seminar listings (XSeL) containing HTML, RSS, and other data chunks Example Application:

XML Summary zan integration tool for mixing different types of data za universal format for exchanging data between machines za framework for distributing information on the Web

XML, HTML and..... Ian GRAHAM Centre for Academic Technology Tel: Talk:

HTML HTTP URLs CGI Databases; other software Web history: 4 components: HTTP, URLs, CGI and HTML Web server

Open Directory Data zRDF: Resource Description Framework yA language for describing things yUsed by Netscape Open Catalog project to define Web accessible resources ( yRDF describes the catalog structure, and also the items entered into the catalog

The XML Family Tree SGML XML HTMLTEI XHTML SMIL MathML SpeechML RDF XUL