Demystifying the eXtensible Markup Language Nick Roberts & Jim Few

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

CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
XML XML What XML is and what it means to me as a Computer Scientist By: Derek Edwards CS 376 March 10, 2003.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
XML Unit 6 October 31. XML, review XML is used to markup data Used to describe information Uses tags like HTML –But all tags are user-defined –Must be.
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang,
IELM 511: Information System design Introduction Part 1. ISD for well structured data – relational and other DBMS Part 2. ISD for systems with non-uniformly.
XML Extensible Markup Language Standard supported by W3C (World Wide Web Consortium) HTML – End user oriented (presentation) XML – Application oriented.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
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.
Introduction to XML: Yong Choi CSU Bakersfield.
Introduction to XML Rashmi Kukanur. XML XML stands for Extensible Markup Language XML was designed to carry data XML and HTML designed with different.
XHTML, XML and XSLT. XHTML – EXtensible HyperText Markup Language is HTML defined as an XML application is a stricter and cleaner HTML is compatible to.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
Introduce of XML Xiaoling Song CS157A. What is XML? XML stands for EXtensible Markup Language XML stands for EXtensible Markup Language XML is a markup.
ECA 228 Internet/Intranet Design I Intro to XSL. ECA 228 Internet/Intranet Design I XSL basics W3C standards for stylesheets – CSS – XSL: Extensible Markup.
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.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
 Introduction to XML Introduction to XML  Features of XML Features of XML  Syntax of XML Syntax of XML  Syntax rules of XML document Syntax rules.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
What is XML? XML stands for EXtensible Markup Language
Mid-America Association for Institutional Research Annual Conference November 2008 The Role of IR in Decision Making: Moving Beyond the Numbers.
Embracing the Value of XML in Institutional Research Jim Few Center for Institutional Effectiveness Kennesaw State University Association.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
WPF chapter 15 Dr. John Abraham Professor UTPA. WPF –an introduction WPF provides a single platform capable of handling graphics, audio and video. WPF.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
XML Technologies Surekha Akula
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
 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,
EXtensible Markup Language (XML) and Documentation --ManojBokil -- Manoj Bokil.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Session IV Chapter 9 – XML Schemas
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
JSTL, XML and XSLT An introduction to JSP Standard Tag Library and XML/XSLT transformation for Web layout.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
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.
Windows Presentation Foundation (WPF) Chapter 16 Dr. Abraham.
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
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.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
Web Technologies COMP6115 Session 4: Adding a Database to a Web Site Dr. Paul Walcott Department of Computer Science, Mathematics and Physics University.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
An Introduction to XML Sandeep Bhattaram
What it is and how it works
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
XML Basics A brief introduction to XML in general 1XML Basics.
Jennifer Widom XML Data Introduction, Well-formed XML.
XML stands for Extensible Mark-up Language XML is a mark-up language much like HTML XML was designed to carry data, not to display data XML tags are not.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
XML. HTML Before you continue you should have a basic understanding of the following: HTML HTML was designed to display data and to focus on how data.
Evaluation Biztalk Table of Contents Introduction to XML. Anatomy of an XML document. What is an XML Schema? What is SOAP? XML Web Services overview.
Dave Salinas. What is XML? XML stands for eXtensible Markup Language Markup language, like HTML HTML was designed to display data, whereas XML was designed.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
XML Introduction to XML Extensible Markup Language.
XSLT, XML Schema, and XPath Matt McClelland. Introduction XML Schema ▫Defines the content and structure of XML data. XSLT ▫Used to transform XML documents.
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.
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.
XML QUESTIONS AND ANSWERS
XML Data Introduction, Well-formed XML.
What is XML?.
Presentation transcript:

Demystifying the eXtensible Markup Language Nick Roberts & Jim Few

 What is XML?  Why should I care?  How can I use XML?  What is XML?  Why should I care?  How can I use XML? Agenda

W3C: What is XML?  The eXtensible Markup Language (XML) is a markup language that provides a format for describing structured data.  XML was designed to describe, store, carry, and exchange data.  XML tags are not predefined like HTML. You must define your own tags.  XML uses an XML schema to describe the data.  XML can be transformed into other formats with XSLT.  The eXtensible Markup Language (XML) is a markup language that provides a format for describing structured data.  XML was designed to describe, store, carry, and exchange data.  XML tags are not predefined like HTML. You must define your own tags.  XML uses an XML schema to describe the data.  XML can be transformed into other formats with XSLT.

What XML is Not  Something to be afraid of  A replacement for HTML  A replacement for relational databases  A programming language like Java, C++, VB  A forgiving syntax  A silver bullet  Something to be afraid of  A replacement for HTML  A replacement for relational databases  A programming language like Java, C++, VB  A forgiving syntax  A silver bullet

Text File Format IDLnameFnameGenderEthnicity 83492ClarkBettyFW 89430BhattSohamMA 94032JonesJimMW 48392KleinKimFB IDLnameFnameGenderEthnicity 83492ClarkBettyFW 89430BhattSohamMA 94032JonesJimMW 48392KleinKimFB

XML Format

 Standard (Non-proprietary)  Extensible  Flexible  Easy to share  Web-friendly  Separates content from presentation  Richer than flat text files  It will be everywhere  Standard (Non-proprietary)  Extensible  Flexible  Easy to share  Web-friendly  Separates content from presentation  Richer than flat text files  It will be everywhere Why should I care?

 XML documents use a self-describing syntax  All XML elements must have a closing tag  XML tags are case sensitive  All XML elements must be properly nested  All XML documents must have a root element  XML documents use a self-describing syntax  All XML elements must have a closing tag  XML tags are case sensitive  All XML elements must be properly nested  All XML documents must have a root element XML Syntax W3C:

 Microsoft  IBM  Oracle  SAS  SPSS  Adobe  SAP  Microsoft  IBM  Oracle  SAS  SPSS  Adobe  SAP Who supports XML?  Sun Microsystems  BEA  Business Objects  Novell  W3C  Computer Associates  PeopleSoft  Sun Microsystems  BEA  Business Objects  Novell  W3C  Computer Associates  PeopleSoft Anyone who is a player in the computing world

Data Islands Oracle MS Excel MS Access HTML PDF MS Word Crystal

XML Data Sharing Oracle MS Word Crystal MS Excel SQL Server Dreamweaver MS Access DB2 XML

Text Versus XML Student Record Nick Roberts Main St Paradise, CA Student Record Nick Roberts Main St Paradise, CA Roberts Nick Main St Paradise CA Roberts Nick Main St Paradise CA

HTML Versus XML Student Record Nick Roberts Main St Paradise, CA Student Record Nick Roberts Main St Paradise, CA Roberts Nick Main St Paradise CA Roberts Nick Main St Paradise CA

What is XML Schema?  An XML schema describes the structure of an XML document  An XML schema defines:  Elements that can appear in a document  Attributes that can appear in a document  Which elements are child elements  The order of child elements  The number of child elements  Whether an element is empty or can include text  Data types for elements and attributes  Default and fixed values for elements and attributes  An XML schema describes the structure of an XML document  An XML schema defines:  Elements that can appear in a document  Attributes that can appear in a document  Which elements are child elements  The order of child elements  The number of child elements  Whether an element is empty or can include text  Data types for elements and attributes  Default and fixed values for elements and attributes W3C:

So, What is XML Schema?  An XML schema manages the expectations of those sharing an XML document  The sender can describe the data in a way that the receiver can understand  A schema enforces business constraints and ensures data validation  For example, we can create a standard definition for social security number (data type is string, format=###-##-####, required field, etc.).  An XML schema manages the expectations of those sharing an XML document  The sender can describe the data in a way that the receiver can understand  A schema enforces business constraints and ensures data validation  For example, we can create a standard definition for social security number (data type is string, format=###-##-####, required field, etc.). W3C:

<xsd:element name="ID" minOccurs="1" od:jetType="text“ od:sqlSType="nvarchar" od:nonNullable="yes"> <xsd:element name="ID" minOccurs="1" od:jetType="text“ od:sqlSType="nvarchar" od:nonNullable="yes"> XML Schema Example

What is XSL?  XSL stands for eXtensible Stylesheet Language  Think of XSL as a set of languages that can:  Transform XML into XHTML  Filter and sort XML data  Define parts of an XML document  Format XML data based on the data value, like displaying negative numbers in red  Output XML data to different media, like web browsers, screens, paper, or voice.  XSL stands for eXtensible Stylesheet Language  Think of XSL as a set of languages that can:  Transform XML into XHTML  Filter and sort XML data  Define parts of an XML document  Format XML data based on the data value, like displaying negative numbers in red  Output XML data to different media, like web browsers, screens, paper, or voice. W3C:

Student Record, Student Record, XSL Example

XML Document XML Workflows Database Text or XML Editor Schema Validation Stylesheet Transformation XML Document Print Document Web Browser Database XML Application

XML Document XML Workflow Example Database ASP.NET XSL Stylesheet Web Browser

Questions? Comments? Angry Outbursts? The End