XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.

Slides:



Advertisements
Similar presentations
Forest Markup / Metadata Language FML
Advertisements

1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
XML: Extensible Markup Language
XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
University of Jyväskylä/AHo & VLy Experiences of Document Transformations with XSLT and DOM Anne Honkaranta, Virpi Lyytikäinen, Pasi Tiitinen, University.
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.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
CS 898N – Advanced World Wide Web Technologies Lecture 22: Applying XML Chin-Chih Chang
XML is a set of rules for building markup languages. It is not just glorified HTML or only for the internet. XML is a family of technologies that can do.
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
Chapter 14 Database Connectivity and Web Technologies
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.
HTML, XML, PDF Pros and Cons.
Using XML as the Foundation for a Network Resource Description Language Peter A. Dinda.
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
XML – what is it? eXtensible Markup Language Standard for publishing and interchange on the web and over the wire simpler version of SGML adapted to internet.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
Object and component “wiring” standards This presentation reviews the features of software component wiring and the emerging world of XML-based standards.
1 XML at a neighborhood university near you Innovation 2005 September 16, 2005 Kwok-Bun Yue University of Houston-Clear Lake.
XML and its applications: 4. Processing XML using PHP.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
XML eXtensible Markup Language w3c standard Why? Store and transport data Easy data exchange Create more languages WSDL (Web Service Description Language)
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
XML - Why: The HTML-Dilemma HTML, SGML, XML - How: Syntax, Concept, Language Elements Basics Well-formed XML-Documents (without DTD) Valid XML-Documents.
XML과 Database 홍기형 성신여자대학교 성신여자대학교 홍기형.
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.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
XML – An Introduction Structured Data Mark-up James McCartney CSCE 590, Cluster and Grid Computing.
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.
XML Overview / Schema / DOM Brent P. Christie Major USMC.
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.
An Introduction to XML Paul Donohue May 8th 2002 Hotel Senator Zürich.
XML Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
XML, XSL, and SOAP Building Object Systems from Documents CSC/ECE 591o Summer 2000.
AxKit A member of the Apache XML project Ryan Maslyn Kyle Bechtel.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
XML eXtensible Markup Language. XML A method of defining a format for exchanging documents and data. –Allows one to define a dialect of XML –A library.
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 –
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
©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.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
XML Tools (Chapter 4 of XML Book). What tools are needed for a complete XML application? n Fundamental components n Web infrasructure n XML development.
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,
SEMI-STRUCTURED DATA (XML) 1. SEMI-STRUCTURED DATA ER, Relational, ODL data models are all based on schema Structure of data is rigid and known is advance.
XML Extensible Markup Language
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
XML 1.Introduction to XML 2.Document Type Definition (DTD) 3.XML Parser 4.Example: CGI Gateway to XML Middleware.
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)
XML Related Technologies
XML QUESTIONS AND ANSWERS
XML in Web Technologies
Session I - Introduction
Session I - Introduction
Database Processing with XML
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
CSE591: Data Mining by H. Liu
Presentation transcript:

XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999

Overview: The XML Language n What is XML n Document Type Definitions n XML and DTD Example n XML APIs: DOM and SAX n Pros and Cons

What is XML? n Extensible Markup Language is a simplified subset of Standard Generalized Markup Language. n Tags can be arbitrarily named, and can be used to encode semantic information about enclosed data. n Documents can be well-formed, or optionally validated against Document Type Definitions. n XML documents can be componentized, and be distributed across networks. n Creates a self-describing, text-based framework around text and binary data

Document Type Definitions n DTD: Concise structural definition of an XML document type. n DTDs are optional, well-formed+DTD=>valid n DTDs provide a way to enforce XML documents’ compliance to constraints on XML documents. n Optional elements and attributes add additional flexibility to support evolving schemas. n DTDs can be embedded in the XML document, providing a self-sufficient validating document.

XML and DTD Example (open editor) Ben Zhao

XML APIs: DOM and SAX n DOM (Document Object Model) – Provides a definitive API for accessing hierarchical description languages like XML, HTML – Specifies interfaces for accessing all part of a document – Includes inheritance, typing, and constants n SAX (Simple API for XML) – An event-driven parser API – API reports parsing events to application via callbacks – Optimized for parsing large documents by eliminating need to keep tree structure in memory

Pros and Cons Pros n Simple (human readable) n Standard (easy to integrate, widely adopted) n Portable (cross-platform data exchange) n Flexible (handles complex data) n Extensible (dynamic data model) Cons n Text-based means space consuming n Standardization is still a problem to be solved n Evolutionary model means ill-defined functionality core

Overview: Current XML Efforts n XML Tools n Evolving Recommendations n Industry Databases n XML Query Languages n Research Query Engines n Relevance to Systems Research

XML Tools n Parsers – Existing parsers support DOM or SAX – Varying XML compliance and performance n Editors for XSL, XML and DTDs n Browsers n Converters – Applications that convert from and to XML n Document Management – Lightweight searching and indexing tools – Difference engines

Related Evolving Recommendations n Namespaces: qualifying names with URI references n XML-data, defines XML vocabulary for schemas (definitions of characteristics of classes of objects) n XLink – XML Linking language, sophisticated link styles n XPointers – XML Pointers to all parts of XML documents n RDF (Resource Description Framework) – model for using XML to describe metadata on the web n DCD(Document Content Description) – XML-data + RDF

Industry XML Databases n ObjectStore eXcelon – Middle tier server that imports from different DB stores – XQL queries applied to integrated data – Provides “cache server” for XML imported from heterogeneous DB backends – Focuses on web applications as access methods to DBs n Poet XML Repository – Object oriented database with standard DB functionality, with OQL – Focuses on use of XML to faciliate EDI

XML Query Languages n XML-QL (AT&T, Inria, U.Wash.) – Very similar to SQL – Optimizations and other DB techniques applicable – Data integration and conversion from hetero. sources n XQL (Microsoft) – Based on the XSL transformation language – Context based and XML-specific query matching – Departure from the database-centric SQL format n LOREL (Stanford) – See notes from Last Week’s LOREL presentation

Research Query Engines n LORE (Stanford) – Based on the LOREL query language – A feature-rich DB approach to XML storage and query, with context-free indexing, path indexing through dataguides, query optimizations, and views n XSet (UCB, Ninja) – Streamlined XML search engine implemented in Java – Focus on high performance rather than feature set – Small size favors integration into low-level applications – Research issues on next slide

Relevance to Systems Work n FSML: XML meta-index for fast access to files n Distributed Service Discovery (Ninja SDS) – Service descriptions encoded in XML n Semantically Enhanced Web searching n Data exchange across heterogeneous platforms n Low overhead scripting language for thin clients n User preferences – Embedded logic and scripting inside XML

Discussion n XML: flexible description language with optional DTD validation n Provides flexible framework for marking data with inferred semantics n Provides additional push towards standardization, but not as a result of the language itself n Are the benefits of the XML movement due to something intrinsic in the language? n Description language of choice? Pervasive among future applications?