28 October 2008CIS 340 # 1 Topics To define XML as a technology To place XML in the context of system architectures Online support:

Slides:



Advertisements
Similar presentations
XML III. Learning Objectives Formatting XML Documents: Overview Using Cascading Style Sheets to format XML documents Using XSL to format XML documents.
Advertisements

XML: Extensible Markup Language
XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 24.
KM World 2001 XML Show & Tell Eddie O’Brien Ringtail Solutions
3 November 2008CIS 340 # 1 Topics To define XML as a technology To place XML in the context of system architectures.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
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.
1 COS 425: Database and Information Management Systems XML and information exchange.
XML and The Relational Data Model
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Introduction to XML This material is based heavily on the tutorial by the same name at
1 Advanced Topics XML and Databases. 2 XML u Overview u Structure of XML Data –XML Document Type Definition DTD –Namespaces –XML Schema u Query and Transformation.
Aalborg University – Department of Production XML Extensible Markup Language Kaj A. Jørgensen Aalborg University, Department of Production XML – Extensible.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
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.
1 XML at a neighborhood university near you Innovation 2005 September 16, 2005 Kwok-Bun Yue University of Houston-Clear Lake.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
ColdFusion’s XML Capabilities Maryland CFUG April 12, 2005 Presented by Doug Ward.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
IT420: Database Management and Organization XML 21 April 2006 Adina Crăiniceanu
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.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
XML: The Changing Phase of e-Documentation Jyothi Jandhyala.
Session II Chapter 2 – Chapter 2 – XSLhttp://
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
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.
Company LOGO OODB and XML Database Management Systems – Fall 2012 Matthew Moccaro.
 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.
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Utilizing XML in ColdFusion MX by Attila Domokos.
Windows Presentation Foundation (WPF) Chapter 16 Dr. Abraham.
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.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
An Introduction to XML Sandeep Bhattaram
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.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
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.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
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.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Extensible Markup Language
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: Extensible Markup Language
XML Related Technologies
XML stands for Extensible Markup Language.
Database Processing with XML
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
XML Data Introduction, Well-formed XML.
CSE591: Data Mining by H. Liu
More XML XML schema, XPATH, XSLT
Presentation transcript:

28 October 2008CIS 340 # 1 Topics To define XML as a technology To place XML in the context of system architectures Online support: Online community: Standards development: open.org/committees/committees.php#completed

28 October 2008CIS 340 # 2 Spectrum of “Technologies” XPATH DTD XSD XML XSL XSLT XSL-FO XFORMS XLINK XQUERY XPOINTER

XML XML stands for eXtensible Markup Language. XML is designed to transport and store data. XML is important to know, and very easy to learn. 28 October 2008CIS 340 # 3

28 October 2008CIS 340 # 4 XML... Is a syntax for describing data –Almost any data Produces “vocabularies” –Anyone can produce an individualized vocabulary –Sharing the vocabulary enables the sharing of data Organizational hub –

28 October 2008CIS 340 # 5 XML History Shares similar historical roots with HTML Part of SGML (Standard Generalized Markup Language – 1970s) describes how to renderHTML describes how to render information via a browser –“rendering” options are fixed via the language –Display potential fixed via the selected output technology HTML limitation? use » Interpretation after transmission (e.g. use) requires human intervention

28 October 2008CIS 340 # 6 XML History (p. 2) XML enables human bypass XML offers self-descriptive labels equating to interpretation XML provides “meta information” If XML used, Company B can: Have programs manipulate data Import data directly to database Store immediately within similar, affiliated documents Manipulate data for specific needs continues.... COMPANY A COMPANY BFINANCIAL.rpt A-WEB

28 October 2008CIS 340 # 7 Vocabularies Collection of elements Not predefined vocabularyBut related into a structure  vocabulary “Instance of”“Instance of”  XML documentDef:

28 October 2008CIS 340 # 8 Sample Defined Vocabularies (in progress) Accounting XML Advertising XML Astronomy XML Building XML Chemistry XML Construction XML Education XML Food XML Finance XML Government XML Healthcare XML Human Resources XML Instruments XML Insurance XML Legal XML Manufacturing XML News XML Photo XML Physics XML Publishing XML Real Estate XML Telecommunications XML Travel XML

28 October 2008CIS 340 # 9 EX: Address Vocabulary Contents of the files?.../xml/...

28 October 2008CIS 340 # 10 XML Document Prolog –(optional) –Describes the xml- specification –Declares the document type (DTD) Body –(required) –collection of instantiated vocabulary terms Epilog –(optional) –processing or comments Golden Phoenix J. K. Rowling Mythical Work E. Yourdan

28 October 2008CIS 340 # 11 Schemas »Document Type Definition (DTD) »XML Schema Definition (XSD) Offers the legal structure of the elements of a vocabulary Enables the programmatic access of an XML “document” Meaning? Declare element types Qualify elements with attributes Define parent-child relationships Assign simple data types Establish validation basis for data acceptance

DTD 28 October 2008CIS 340 # 12 !DOCTYPE note defines that the root element of this document is note !ELEMENT note defines that the note element contains four elements: to,from,heading,body" !ELEMENT to defines the to element to be of type "#PCDATA" !ELEMENT from defines the from element to be of type "#PCDATA" !ELEMENT heading defines the heading element to be of type "#PCDATA" !ELEMENT body defines the body element to be of type "#PCDATA"

28 October 2008CIS 340 # 13 EX: DTD Specification <!DOCTYPE book [ ]>

EX: XSD Specification (see p. 29) address example <xsd:enumeration value = “Fiction”/> <xsd:enumeration value = “Non-Fiction”/>

28 October 2008CIS 340 # 15 XQUERY... FLWR (“flower”) Query language aka SQL Designed for XML documents Allows for logic to be used to access embedded information of XML documents

28 October 2008CIS 340 # 16 XQUERY... FLWR (“flower”) FLWR :: For Let Where Return General versions: for Variable in Exp where Exp return Exp sortby(Exp) let Variable := Exp where Exp return Exp sortby(Exp) for $x in document (“books.xml”) // book where $x/author = “J. K. Rowling” return $x/title gives  Golden Phoenix gives  Golden Phoenix

28 October 2008CIS 340 # 17 Connective Languages XSLT XML S L TXML Stylesheet Language Transformations Mechanism for taking XML documents to different output renditions XPATH Collection of “utility functions” Enables the parsing and traversing of XML structures Required mechanism for XSLT and XQUERY  Not defined via an XML-compliant syntax  Most XML languages are

28 October 2008CIS 340 # 18 Highlights

Next