Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.

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

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.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
Introduction XML Technologies Mark Graves. This presentation is Copyright 2001, 2002 by Mark Graves and contains material Copyright 2002 by Prentice Hall.
XHTML 16-Apr-17.
ModelicaXML A Modelica XML representation with Applications Adrian Pop, Peter Fritzson Programming Environments Laboratory Linköping University.
XML Prashant Karmarkar Brendan Nolan Alexander Roda.
1 COS 425: Database and Information Management Systems XML and information exchange.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
COS 381 Day 16. Agenda Assignment 4 posted Due April 1 There was no resubmits of Assignment Capstone Progress report Due March 24 Today we will discuss.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
August Chapter 1 - Introduction Learning XML by Erik T. Ray Slides were developed by Jack Davis College of Information Science and Technology Radford.
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.
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
1 XML at a neighborhood university near you Innovation 2005 September 16, 2005 Kwok-Bun Yue University of Houston-Clear Lake.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.
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.
Session II Chapter 2 – Chapter 2 – XSLhttp://
XML What is XML? XML v.s. HTML XML Components Well-formed and Valid Document Type Definition (DTD) Extensible Style Language (XSL) SAX and DOM.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
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.
1 XML - Extensible Markup Language. 2 HTML - Hypertext Markup Language n HTML has a fixed tag set. n Use these tags to describe how information is to.
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
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.
1 Chapter 10: XML What is XML What is XML Basic Components of XML Basic Components of XML XPath XPath XQuery XQuery.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Softsmith Infotech XML. Softsmith Infotech XML EXtensible Markup Language XML is a markup language much like HTML Designed to carry data, not to display.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
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 Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.
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 –
Dom and XSLT Dom – document object model DOM – collection of nodes in a tree.
SCHOOL OF LIBRARY, ARCHIVE AND INFORMATION STUDIES Andy Dawson LIS1510 Library and Archives Automation Issues XML and extensible systems Andy Dawson School.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
Martin Kruliš by Martin Kruliš (v1.1)1.
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.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
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.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
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.
Beyond HTML: Extensible Markup Language (XML)
Updated :02 Hong Kong University of Science & Technology Library Workshop on XML-Based Library Applications 1. What is XML?
Unit 4 Representing Web Data: XML
XML Related Technologies
XML in Web Technologies
Session I - Introduction
Session I - Introduction
Database Processing with XML
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Introduction to Internet Programming
Chapter 7 Representing Web Data: XML
More Sample XML By Sadia Anjum.
CSE591: Data Mining by H. Liu
XML – An Introduction XML is getting a lot of attention right now, because of it leverages existing internet infrastructure and also because it enables.
Unit 6 - XML Transformations
Presentation transcript:

Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL

Intro. To XML  XML stands for eXtensible Markup Language.  XML is a system for defining, validating, and sharing documents.  Main standard organization: World Wide Web Consortium (W3C),

Background: SGML  XML is a simplified version of the Standard Generalized Markup Language (SGML).  Both XML and SGML may be considered as meta-languages for creating markup languages.  A valid XML document is also a SGML document.

Background: HTML  XML uses: Elements for document structures Attributes to describe their properties  Unlike HTML, authors use XML to define and share vocabularies.  As a comparison, HTML has a fixed set of elements:,,, etc, but not or  HTML can be defined using XML: XHTML.

HTML Examples memo.xml: Bun Yue Everybody Hello, welcome!

HTML vs XML XMLHTML Meta-language for defining Markup lang. Markup language Data onlyData and display info Application structures; no intrinsic display info. Display information All applicationsMostly Web Client Application

Issues with HTML  No meaning on document structures.  Hard to support a Semantic Web  Example: human vs machine in: Bun Yue Introduction to XML vs Bun Yue Introduction to XML  HTML Scalping is hard!

Issues in HTML  A traditional HTML files put the following three major components in one document: Data contents Presentation design Programming logic  However, it may be desirable to have three different development teams to create the three components.  Results: difficult to create and maintain.

XML in Web Applications  XML assists in the separation of data from presentation.  Can database be used for the same purpose? Discuss!

Advantages of XML  Strict syntax with unambiguous structures for simpler and more meaningful processing.  Better modeling of application domain.  Validation for early error checking.  Extensible to fit requirements of different domains.  Human readable.  Abundance of tools.

Some Disadvantages of XML  Verbose  Text-based  Tree-based structures  …  This is not a complete list. We will revisit this issue later.

Core XML Standards  XML Specification: XML syntax.  XML Namespace: defining address spaces to avoid naming conflicts.  DTD (Document Type Definition): specifying grammars of XML vocabularies.  XML Schema: a newer and more powerful way to define XML grammars that is itself in XML format.

Core XML Standards  XLink: linking between XML documents.  XPointer: referring to parts of an XML document.  XPath: searching an XML document.  XQuery: XML query language in the line of SQL.

Core XML Standards  CSS (Cascading Stylesheet): a style sheet standard for viewing XML and HTML.  XSL (eXtensible Stylesheet Language): for displaying and transforming XML documents: XSLT: the XSL part for XML transformation. FO: formatting object, the display part of XSL.

Core XML Standards  DOM (Document Object Model): W3C standard for object and interface collections for manipulating XML documents (and HTML, etc).

Tools and Technology  XML Editors:  XML Parsers: DOM: create a document object (tree based) SAX: event driven  Querying: XPath XSLT XQuery

Tools and Technology  XML Server: serve XML Data source management Transformation Consumption support, e.g.  RESTful (Representational state transfer)  XQJ API (XQuery API for Java) Content and subscription management  XML DB: storage of collection of XML documents.

XML DB  Persistence and efficient access of collections of XML documents.  XML Enabled DB: DB provides features for production and consumption of XML. Underlying storage may not be in XML format: e.g. relations.

Native XML DB  XML document as the basic data model.  XML document as a fundamental storage unit.  Standalone or not. E.g. Oracle 11g XML DB native but part of 11g.

Querying  XQuery support

Questions