 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,

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.
XML: Extensible Markup Language
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
An Introduction to XML Based on the W3C XML Recommendations.
XML Name spaces. Different people may invent similar tag names Here is an XML element describing a piece of furniture: table99 dining table Here.
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.
Tutorial 9 Working with XHTML
CSE 190: Internet E-Commerce Lecture 17: XML, XSL.
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.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
DECO 3002 Advanced Technology Integrated Design Computing Studio Tutorial 5 – XML Basic School of Architecture, Design Science and Planning Faculty of.
Tutorial 11 Creating XML Document
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Introduction to XML This material is based heavily on the tutorial by the same name at
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
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.
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
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.
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.
WPF chapter 15 Dr. John Abraham Professor UTPA. WPF –an introduction WPF provides a single platform capable of handling graphics, audio and video. WPF.
E X TENSIBLE M ARKUP L ANGUAGE (XML). What is XML?  XML stands for EXtensible Markup Language  XML is mainly designed to carry (or transmit) data, not.
CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad GM-IT CIIT Islamabad CIIT Virtual Campus, CIIT COMSATS Institute.
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,
Session II Chapter 2 – Chapter 2 – XSLhttp://
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.
Introduction to XML. What is XML? Extensible Markup Language XML Easier-to-use subset of SGML (Standard Generalized Markup Language) XML is a.
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.
 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,
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
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.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
1 XML An Overview Roger Debreceny University of Hawai`i Skip White University of Delaware XBRL Workshop, August 2006.
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
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 –
Chapter 15: XML TP2543 Web Programming Mohammad Faidzul Nasrudin.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
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.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
XML – Basic Concepts (modified version from Dr. Praveen Madiraju) 2015, Fall Pusan National University Ki-Joune Li.
XML Extensible Markup Language
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.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
1 Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL)
Kynn Bartlett 11 April 2001 STC San Diego The HTML Writers Guild Copyright © 2001 XML, XHTML, XSLT, and other X-named specifications.
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
CIS 228 The Internet 9/20/11 XHTML 1.0.
XML Related Technologies
XML QUESTIONS AND ANSWERS
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Unit 6 - XML Transformations
Presentation transcript:

 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners, and suppliers, it’s important to be able to define how XML documents should be structured.  DTDs and XML Schema provide this capability.  DTDs come out of the world of Standard Generalized Markup Language (SGML), focusing primarily on structure by specifying what elements and attributes are considered valid for a particular XML instance document.

 DTDs have limited capability to specify data types.  XML Schema is a more recent initiative of the World Wide Web Consortium (W3C) that puts a more conventional data processing spin on describing XML data with more precision than with DTDs.

 XML intentionally separates data content from presentation through the introduction of supporting technologies that focus on delivering content to users via a variety of devices and presentation media.  Among the technologies for presentation are XHTML- a modular XML conformant replacement for HTML  CSS for controlling the display properties of HTML or XML in Web browsers

 XSL and XSL Formatting Objects (XSL-FO) for formatting XML for various output media;  XForms for collecting data from Web forms and returning XML;  VoiceXML, for delivering content to voice enabled devices  Wireless Markup Language (WML) for delivery to wireless devices enabled for Wireless Application Protocol (WAP).

 Manipulation technologies provide the capability to extract and transform XML in different ways.  These technologies play an important role in server based XML processing for business- to-business (B2B) data manipulation and exchange.  XSLT is widely used to transform XML from one format to another

 XPath is a technology used by other XML technologies to navigate through an XML tree structure  Xlink is a technology for creating and describing links between resources and for enabling links that go beyond the simple unidirectional links of the current Web  XQuery is an evolving technology for extracting and querying XML repositories.

 The XML family of technologies also includes initiatives for working with meta information, which is literally information about the information contained in an XML document.  Technologies in this space include RDF and InfoSet.

 XML namespaces is a simple technology solution that allows element and attribute names to be distinguished from the similarly named elements and attributes of other XML users.  In XML, a namespace is used to prevent any conflicts with element names.

This XML carries HTML table information Apples Bananas This XML carries information about a table (a piece of furniture) African Coffee Table

 If these XML fragments were added together, there would be a name conflict.  Both contain a element, but the elements have different content and meaning.  An XML parser will not know how to handle these differences.

 Name conflicts in XML can easily be avoided using a name prefix.  This XML carries information about an HTML table, and a piece of furniture  Apples Bananas African Coffee Table

 XML namespaces solves the problem of clashing names by providing a unique prefix to be attached to the beginning of element and attribute names.  When using prefixes in XML, a so-called namespace for the prefix must be defined.  The namespace is defined by the xmlns attribute in the start tag of an element.  The namespace declaration has the following syntax. xmlns:prefix="URI".

 There are several ways to add a namespace to an XML document  when software is processing XML data from ZwiftBooks, it will see ZwiftBooks elements as instead of just title.  The simplest approach is to declare a namespace in a top-level element and let all the elements and attributes under the top element come under the scope of the namespace.

XML in a Nutshell Harold, Elliotte Rusty  But what happens if the namespace declaration appears at some element other than the root element of the document?  The namespace applies only to the element where it is declared and all its child elements.

 This ability to specify namespaces based on element hierarchies allows multiple namespaces to be used in the same document  Namespaces may span a range of elements or target just one element.

 The namespaces specification also makes it possible to use abbreviations for namespaces in order to make XML documents more readable.  we can define a shortcut name, zbooks, so that anywhere that zbooks appears in a document, a software program processing the document will replace it with the actual namespace,

 you may use whatever shortcut name you like within an XML document, and an XML processor reading the document will replace whatever shortcut you use with the URI namespace.  If you declare you will use a shortcut by including xmlns:shortcut ="some URI", then everywhere the shortcut is not used in an element name, the element is not part of the namespace.

 To process XML file using various applications requires it to follow certain rules regarding its structure.  This structuring of XML files becomes very much important when it get shared across multitude of parties.  When using XML to exchange data among clients, partners, and suppliers, it’s important to be able to define how XML documents should be structured  What’s needed is a schema.

 “Schema” is a general term that describes the form of data.  Originally the term was used to define the structure of databases.  A schema is a formal specification of the grammar for a specific XML vocabulary.  Schemas are useful in validating XML document content, determining whether the XML document conforms to the grammar expressed by the XML Schema

 The structuring of XML can be done through various techniques ◦ Document Type Definitions ◦ XML Schemas  Document Type Definition is the earliest method of validating XML file.  This method has been derived directly from the ancestor of XML i.e. SGML (Standard Generalized Markup Language).

 DTDs focus primarily on structure, allowing an XML vocabulary designer to specify the elements and attributes that are appropriate for a set of XML instance documents.  DTDs have limited capability to describe data types within an XML document.  There exist two ways in which Document Type Definitions can be used in an XML file. ◦ Internal DTD ◦ External DTD

 In the case of internal DTD, the definitions are located in the same file itself.  The rules that the XML file has to follow is given in the XML file itself.  Generally they are given immediately following the declaration.

<!DOCTYPE note [ ]>

Bob Marilyn Reminder Don’t forget to bring the cheese