XML eXtensible Markup Language ©2010 Paula Schales.

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

An Introduction to XML Based on the W3C XML Recommendations.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
IDK0040 Võrgurakendused I RSS 2.0 Deniss Kumlander.
1 of 2 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
XML, XSL, XSLT, XHTML and others By Sean Hunter. Why XML?  XML was created to be a quick and easy way to provide structured data over the web.  Existing.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
XML(EXtensible Markup Language). XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe.
Tutorial 11 Creating XML Document
Mark Frydenberg Computer Information Systems Department.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Web 2.0: Concepts and Applications 3 Syndicating Content.
RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites. RSS allows fast browsing for news and updates.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Topics The "bigger picture" –The "XML sales pitch" –XML/XHTML vs. SGML/HTML –XML in electronic publishing –XML and the future, web 2.0 XML basics: –Building.
ECA 228 Internet/Intranet Design I Intro to XML. ECA 228 Internet/Intranet Design I HTML markup language very loose standards browsers adjust for non-standard.
AUDIO 101 with Adrian What is an audio file format? An audio file format is a file format for storing digital audio data on a computer system. Universal.
Web 2.0: Concepts and Applications 3 Syndicating Content.
Content Management Systems Week 5 LBSC 690 Information Technology.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
XML eXtensible Markup Language by Darrell Payne. Experience Logicon / Sterling Federal C, C++, JavaScript/Jscript, Shell Script, Perl XML Training XML.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
An XML Introduction Extensible Markup Language Describe Structure and Content of Data Sample XML Document.
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.
XML Technologies Surekha Akula
XML Week 6 INFM 603. Agenda Questions Events in JavaScript XML Speed dating.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
Introduction to XML Extensible Markup Language. What is XML XML stands for eXtensible Markup Language. A markup language is used to provide information.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Tutorial 1: XML Creating an XML Document. 2 Introducing XML XML stands for Extensible Markup Language. A markup language specifies the structure and content.
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
Electronic Commerce COMP3210 Session 4: Designing, Building and Evaluating e-Commerce Initiatives – Part II Dr. Paul Walcott Department of Computer Science,
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
Softsmith Infotech XML. Softsmith Infotech XML EXtensible Markup Language XML is a markup language much like HTML Designed to carry data, not to display.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
Podcasting Nick Weare Radio and Recorded Sound Specialist National Film and Sound Archive.
WEB APPLICATION DEVELOPMENT For More visit:
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
17 Apr 2002 XML Syntax: Documents Andy Clark. Basic Document Structure Element tags – Elements have associated attributes Text content Miscellaneous –
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.
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
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.
XML Basics A brief introduction to XML in general 1XML Basics.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
RSS Really Simple Syndication. Overview RSS is a web content syndication format RSS documents are XML and must conform to the xml 1.0 recommendation RSS.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
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 –
COP 3813 Intro to Internet Computing Prof. Roy Levow XML.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
RSS Interfaces and Standards Chander Iyer. Really Simple Syndication (RSS) Web data format providing users with frequently updated content. Make a collection.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
Podcasts. (derived from Apple's "iPod" and "broadcasting“) a method of publishing audio files to the internet, allowing users to subscribe to a feed and.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
RSS Syndication CS 431 – Carl Lagoze – Cornell University.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
XML Introduction to XML Extensible Markup Language.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
1 Introduction to XML Babak Esfandiari. 2 What is XML? introduced by W3C in 98 Stands for eXtensible Markup Language it is more general than HTML, but.
Extensible Markup Language (XML) Pat Morin COMP 2405.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
Unit 4 Representing Web Data: XML
“Real Simple Syndication” (RSS)
Chapter 7 Representing Web Data: XML
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

XML eXtensible Markup Language ©2010 Paula Schales

Overview History of markup Why XML? XML models RSS and XML sitemaps Where to learn more ©2010 Paula Schales

History SGML (Standard Generalized Markup Language) been around since the 1980’s SGML is feature-rich and complex Tim Berners-Lee created HTML from SGML 1997 HTML 4 published as a W3C Recommendation XHTML is transition from HTML 4 to XML and is based on XML ©2010 Paula Schales

XML ( eXtensible Markup Language) XML stands for eXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display data XML tags are not predefined. You must define your own tags XML is designed to be self-descriptive XML is a W3C Recommendation ©2010 Paula Schales

How is XML used? To structure, store, and transport data XML sitemaps AJAX RSS and Atom SOAP – Simple Object Access Protocol used in web services WSDL – Web Services Description Language, defines services as collections of network endpoints, or ports RDF and OWL Office productivity tools like Microsoft Office and Apple’s iWork ©2010 Paula Schales

XML Rules 1.XML tag must start with an alphabetic character (a-z), or underscore(_), and the tags are case-sensitive 2.There may be one and only one root tag 3.XML tags must be closed 4.Inner nested tags must be closed before you close the outer nested tags 5.Attribute value must be enclosed by a pair of single or double quotes 6.Comments in XML are denoted by: 7.XML language has 5 built in entity references <>&&apos;" ©2010 Paula Schales

XML Data Any text placed within the tags are by default of type Parsed Character DATA (PCDATA) which is parsed by the XML parser CDATA may be placed within the tag and will NOT be parsed by the XML parser In addition to being well-formed, an XML document may be valid Validation may be against a DTD or a Schema ©2010 Paula Schales

XML Data Models 3 data models 1.Nested (elements only) 2.Empty (attributes only) 3.Mixed (elements and attributes) ©2010 Paula Schales

XML Nested Model Jane Doe Web Designer BA Fine Arts Start Web Design Company Must take Dreamweaver Jane Doe Web Designer BA Fine Arts Start Web Design Company Must take Dreamweaver ©2010 Paula Schales

XML Empty Model <general occupation=“Web Designer” education=“BA Fine Arts” goals=“Start Web Design Company” /> <general occupation=“Web Designer” education=“BA Fine Arts” goals=“Start Web Design Company” /> ©2010 Paula Schales

XML Sitemaps T00:00:00+00:00 daily T00:00:00+00:00 daily T00:00:00+00:00 daily T00:00:00+00:00 daily T00:00:00+00:00 daily T00:00:00+00:00 daily 0.5 ©2010 Paula Schales

RSS "Really Simple Syndication" but sometimes "Rich Site Summary” Used to publish frequently updated works—such as blog entries, news headlines, audio, and video—in a standardized XML format Called a "feed", "web feed", or "channel” RSS feeds can be read using software called an "RSS reader", "feed reader", or "aggregator” Subscribe to a feed by entering into the reader the feed's URI or by clicking an RSS icon in a browser that initiates the subscription process The RSS reader checks the user's subscribed feeds regularly for new work, downloads any updates that it finds, and provides a user interface to monitor and read the feeds ©2010 Paula Schales

RSS Structure Two major branches: 1.* based on RDF and uses RDF namespace 2.* used for podcasting and iTunes XML format consists of: – root element – channel element – item elements – one or more – channel and item elements have title, link, and description elements ©2010 Paula Schales

RSS 1.* based on RDF XML.com XML.com features a rich mix of information and services for the XML community. Processing Inclusions with XSLT Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing. XML.com XML.com features a rich mix of information and services for the XML community. Processing Inclusions with XSLT Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing. ©2010 Paula Schales

RSS 2.* Lift Off News Liftoff to Space Exploration. en-us Tue, 10 Jun :00:00 GMT Tue, 10 Jun :41:01 GMT Star City How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's Star City. Tue, 03 Jun :39:21 GMT Lift Off News Liftoff to Space Exploration. en-us Tue, 10 Jun :00:00 GMT Tue, 10 Jun :41:01 GMT Star City How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's Star City. Tue, 03 Jun :39:21 GMT ©2010 Paula Schales

Where to Learn More W3C – World Wide Web Consortium to develop web standards Oasis – Advancing open standards for the global information society W3 Schools Google sitemap tutorials Sitemaps.org ©2010 Paula Schales