MSc IT Multimedia XML & XSLT P. Muneesawang. 2 Outline Why XML XSL.

Slides:



Advertisements
Similar presentations
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Advertisements

Getting a Taste of Cascading Stylesheets Steve Mooradian December 14, 2005.
XML Technology in E-Commerce
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Project 1 Introduction to HTML.
ModelicaXML A Modelica XML representation with Applications Adrian Pop, Peter Fritzson Programming Environments Laboratory Linköping University.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
DECO 3002 Advanced Technology Integrated Design Computing Studio Tutorial 5 – XML Basic School of Architecture, Design Science and Planning Faculty of.
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.
XML Introduction By Hongming Yu Feb 6 th, Index Markup Language: SGML, HTML, XML An XML example Why is XML important XML introduction XML applications.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Ontology-based Access Ontology-based Access to Digital Libraries Sonia Bergamaschi University of Modena and Reggio Emilia Modena Italy Fausto Rabitti.
1st Project Introduction to HTML.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Sheet 1XML Technology in E-Commerce 2001Lecture 6 XML Technology in E-Commerce Lecture 6 XPointer, XSLT.
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. Revised 1/12/2015 by William Pegram 1.
Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.
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.
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
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.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
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.
XML - Why: The HTML-Dilemma HTML, SGML, XML - How: Syntax, Concept, Language Elements Basics Well-formed XML-Documents (without DTD) Valid XML-Documents.
XML Basics Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Extensible Meta Language Markup Language.
TEXT ENCODING INITIATIVE (TEI) Inf 384C Block II, Module C.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
HTML PROJECT #1 Project 1 Introduction to HTML HTML Project 1: Introduction to HTML 2 Vocabulary Internet service provider (ISP) A company that has a.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
1 Chapter 10: XML What is XML What is XML Basic Components of XML Basic Components of XML XPath XPath XQuery XQuery.
Presented by Nassib Awad
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
CP3024 Lecture 9 XML: Extensible Markup Language.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
XML A Language Presentation. Outline 1. Introduction 2. XML 2.1 Background 2.2 Structure 2.3 Advantages 3. Related Technologies 3.1 DTD 3.2 Schemas and.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
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.
Metadata and Meta tag. What is metadata? What does metadata do? Metadata schemes What is meta tag? Meta tag example Table of Content.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
1 Survey of Profiles from Other Domains XMSF Profile SG 13 January 2004 Curt Blais and NPS MV3250 (Introduction to XML, 1st Quarter 2005) Katherine L.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
Beyond HTML: Extensible Markup Language (XML)
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
Chapter 1 Introduction to HTML.
XML QUESTIONS AND ANSWERS
Project 1 Introduction to HTML.
Session I - Introduction
Session I - Introduction
Database Processing with XML
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
XML Introduction By Hongming Yu Feb 6th, 2002.
Introduction to World Wide Web
XML – An Introduction XML is getting a lot of attention right now, because of it leverages existing internet infrastructure and also because it enables.
Presentation transcript:

MSc IT Multimedia XML & XSLT P. Muneesawang

2 Outline Why XML XSL

3 World Wide Web Consortium W3C, founded in October 1994: Purpose: develop common protocols that promote WWW’s evolution and ensure its interoperability User Interface Domain Hypertext Markup Language (HTML), Cascading Style Sheets (CSS), Document Object Model (DOM), Scalable Vector Graphics (SVG), SMIL Technology and Society Domain Platform for Privacy Preferences (P3P), Platform for Internet Content Selection (PICS), Resource Description Framework (RDF) Architecture Domain Hypertext Transfer Protocol (HTTP), Extensible Markup Language (XML)...Follow links at for more details…

4 Why Many XML Issues Related to Multimedia: XML Data Representation XML Schemes and MPEG XML and Multimedia Data Indexing XML and Multimedia Data Caching Multimedia applications and XML XML DTDs and Database Schemas Security But.... We need to start with the basics….

5 Why Full Text Encoding or Mark-up allows: the representation of structure (original or otherwise - Headers, sections, cuts, divisions etc) to make explicit an interpretation or document searching (e.g. find by artist x, and/or by reference y) output in a specific format re-use in different formats (one document, many outputs e.g. PC, PDA, Phone, Print) platform & software-independence wide distribution preserve content

6 Why Particularly useful for: collating/providing different versions designing interactive multimedia editions recording metadata (date of creation, copyright status, change history, etc)

7 Mark-up Languages A set of rules that typically state: what kind of mark-up is allowed where it is allowed required how its elements relate to each other how to tell mark-up from content

eXtensible Makeup Language (XML)

9 XML XML is a method for putting structured data in a text file XML looks a bit like HTML but isn't HTML XML is text, can be read by humans and computers XML is a family of technologies XML is verbose, but that is less of a problem XML is new, but not that new XML is license-free, platform-independent and well-supported

10 What is XML? Interchange structured documents over the internet Start and end of each logical part (elements) DTD formal model allows users to check validity Does not require presence of DTD A family of languages e.g. XSLT, XSL, XPath

11 What is XML? XML allows users to: bring multiple files together to form compound documents identify where images, sounds, video should be incorporated provide processing control information add editorial comments to a file

12 What is XML? XML is not a predefined set of tags a standardized template for producing particular document types

13 HTML Example Apples £1 Oranges £2

14 XML Example Apples £1 Oranges £2

15 XML Tree Well-formed XML tree

16 XML tree Not well-formed XML tree

17 XML Components Documents composed of entities Entities can contain one or more logical elements Each element can have certain attributes

18 XML use Elements and attributes entered between matched pairs of angle brackets Entity references start with an ampersand and end with a semi-colon &….;

19 XML Use <! DOCTYPE memo SYSTEM “ All Staff Ian Anderson 20 January Lottery The HATII syndicate has won the lottery and we can all quit tomorrow.

20 Defining your Tag Set Must create a DTD <! DOCTYPE memo [ <! ELEMENT memo (to, from, date, subject?, para+) > ] >

21 Using XML Coded Text XML Processing Instruction Document Type Declaration (internal or external subset) <! DOCTYPE memo SYSTEM “ > Document Instance Element type name must match document type name

22 Using XML Coded Text If all three components present, and document instance conforms to rules defined in document type definition, the document is valid. If only document instance is present all XML processor can do is check document is well- formed

23 Where now? XML Multimedia Developments PMML - Pervasive Multimedia Markup Language RDF - Resource Description Framework (Multimedia specific): an infrastructure that enables the encoding, exchange, and reuse of structured metadata. SMIL - Synchronized Multimedia Integration Language

24 Context: Informedia Digital Video Library

25 Sample XML for Informedia Results Set <im:doc> : :29 The Maker of Cherry Garcia and Rainforest Crunch Ice Cream Could Soon be Scooped Up; Ice Cream Maker Didn't Name Potential The Maker of Cherry Garcia and Rainforest Crunch Ice Cream Could Soon be Scooped Up; Ice Cream Maker Didn't Name Potential </im:doc><im:doc> : :16 So, While Ice Cream Parlor Closed, in Suite Next Door to where Tim and Heidi Manipulate Bones, Tim and Heidi now also Fill Jars So, While Ice Cream Parlor Closed, in Suite Next Door to where Tim and Heidi Manipulate Bones, Tim and Heidi now also Fill Jars </im:doc></IDVLResults>

26 Other W3C Recommendations XSLT – Extensible Stylesheet Language Transformations XPath – XML Path Language XML Schema

27 Adding Style to XML XML only text-based, not for visually presentation. Extensible Stylesheet Language (XSL) and XSL Transformations (XSLT) available (XSL as working draft, XSLT as W3C Recommendation Nov. 16, 1999, XSLT: a language for transforming XML documents into other XML documents XPATH: a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer

28 XML example 001 น. ส. ชลธิชา ศรีดา กรุงเทพ นายศุภชัย สมพานิช กรุงเทพ

29 XSL example เบื้องต้นการใช้งานภาษา XSL ร่วมกับภาษา XML รหัส ชื่อ ที่อยู่ โทรศัพท์ โอมเพจ

30 XSLT, larger font, 1 of 2 เบื้องต้นการใช้งานภาษา XSL ร่วมกับภาษา XML รหัส ชื่อ ที่อยู่ โทรศัพท์ โอมเพจ

31 XSLT, larger font, 2 of 2

32 XML in IE

33 Experiments Install XMLSPY 5 Enterprise Edition Follow the online tutorial: Step I: making XML schema Step II: making XML file Step III: making XSLT