XML Engr. Faisal ur Rehman CE-105T Spring 2007. Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.

Slides:



Advertisements
Similar presentations
WECC EIDE Training Workshop Data Exchange Work Group.
Advertisements

XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
Getting a Taste of Cascading Stylesheets Steve Mooradian December 14, 2005.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
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.
Project 1 Introduction to HTML.
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang,
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
Extensible Markup Language (XML). Why XML? XML's set of tools allows developers to create web pages - and much more. XML allows developers to set standards.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
Tutorial 11 Creating XML Document
System Integration (Cont.) Week 7 – Lecture 2. Approaches Information transfer –Interface –Database replication –Data federation Business process integration.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
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.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
1st Project Introduction to HTML.
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.
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.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
First things, First Do you belong in here? – 10 – 12 – Comp. Discovery or Keyboard/Comp Apps – Do you have any experience with Web Page Design?????
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
XML Basics Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Extensible Meta Language Markup Language.
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
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.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
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.
XML Extensible Markup Language
Softsmith Infotech XML. Softsmith Infotech XML EXtensible Markup Language XML is a markup language much like HTML Designed to carry data, not to display.
Copyrighted material John Tullis 10/17/2015 page 1 04/15/00 XML Part 3 John Tullis DePaul Instructor
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
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.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
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 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.
Advanced Technical Writing 2006 Session #4. Today in Class… ► Meet with your editorial team, refine/post deliverables ► Send URL for deliverables to Bill.
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.
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 –
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
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.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Advanced Technical Writing 2006 Session #3. Today in Class… ► Show-n-tell your CSS Objects from exercise 1 ► Meet with your editorial team, refine/post.
XML Extensible Markup Language
Connecting to External Data. Financial data can be obtained from a number of different data sources.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
HTML 2.0HTML 3.2 HTML 4.0 HTML 4.01 XHTML malformed, non-standard markup.
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.
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
Distributed web based systems
Microsoft Office Illustrated
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
XML Data Introduction, Well-formed XML.
Presentation transcript:

XML Engr. Faisal ur Rehman CE-105T Spring 2007

Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise declaration of content and meaningful result across multiple platforms. XML separates Presentation from data. This separation of data from presentation enables the integration of data from diverse sources. Customer information, purchase orders, research results, bill payments, medical records, catalog data, and other information can be converted to XML.

Explanation HTML tags describes formatting while xml tag describe data like city name, temperature and barometric pressures. XML uses a set of tags to delineate elements of data. Each element encapsulates a piece of data that may be very simple or very complex. You can define an unlimited set of XML tags. For example, you might define XML tags to declare pieces of data from a purchase order, such as the price, tax, shipping address, billing address, and so on. As XML tags are adopted throughout an organization and across organizations, data from all kinds of different data stores will be easier to exchange and manipulate.

Explanation XML uses Extensible stylesheet Language (XSL) and cascading style sheets (CSS) to present data in browser. XML is a subset of SGML that is optimized for delivery over the Web. It is defined by the World Wide Web Consortium (W3C). This standardization ensures that structured data will be uniform and independent of applications or vendors.

XML vs HTML The following are a few important points to keep in mind about the relationship between XML and HTML: XML is not a replacement for HTML; in fact, XML can be considered a complement to HTML. XML and HTML have different goals: HTML is designed to display data and is focused on how data looks, while XML is designed to describe data and to focus on what data is. Like HTML, XML does not do anything. While XML tags can be used to describe the structure of an item such as a purchase order, it does not contain any code that can be used to send that purchase order, process it, or ensure that it is filled. Other people must write code to actually do these things with your XML-formatted data. Unlike HTML, XML tags are defined by the author of a schema or document and are unlimited. HTML tags are predefined; HTML authors can only use tags that are supported by the current HTML standard.

Uses of XML XML is an extremely flexible way to pass around data. The following are all examples where XML can be used: An ordinary document A structured record, such as an appointment record or purchase order Internet/intranet Web applications that move data An object with data, such as the persistent format of an object or ActiveX control A data record, such as the result set of a query Meta-content about a Web site, such as Channel Definition Format (CDF) Graphical presentation, such as an application's user interface Links between information and people on the Web C# code, which can be documented with XML Discovery documents used to locate available XML Web services

XML Advantages The following lists several advantages XML has over other formats when storing information: XML formats are text-based, making them more readable, easier to document, and sometimes easier to debug. XML documents can use much of the infrastructure already built for HTML, including the HTTP protocol and some browsers. HTTP allows XML to be transferred across firewalls. XML parsing is well defined and widely implemented, making it possible to retrieve information from XML documents in a variety of environments.

XML Advantages Applications can rely on XML parsers to do some structural validation, as well as data type checking (when schemas are used). XML is built on a Unicode foundation, making it easier to create internationalized documents. XML is not appropriate for every situation, however. XML documents tend to be more verbose than the binary formats they replace. They take up more network bandwidth and storage space, or require more processor time for compression. XML parsing can be slower than parsing highly optimized binary formats and can require more memory. However, careful application design can avoid some of these problems.

Further Info XML Resources If you are familiar with HTML, you can learn to create XML documents, requiring only that they be valid and well formed. For more information about XML, see the XML SDK and MSDN Online XML Developer Center Web site ( For more information, see the World Wide Web Consortium (W3C) Specification for XML (

XML Schema XML Schemas are documents that are used to define and validate the content and structure of XML data, just as a database schema defines and validates the tables, columns, and data types that make up a database. An XML Schema defines and describes certain types of XML data by using the XML Schema definition language (XSD). XML Schema elements (elements, attributes, types, and groups) are used to define the valid structure, valid data content, and relationships of certain types of XML data. XML Schemas can also provide default values for attributes, and elements. For more information, see the World Wide Web Consortium (W3C) Web site (

XML Schema You use an XML Schema to guarantee consistency among certain types of XML data that is shared between applications and organizations. An XML Schema can be used as a contract for data exchange between two applications. Organizations can publish schemas that describe the format of the XML their applications produce and consume. Other organizations and applications that wish to exchange data can then build their applications around these schemas so their xml messages will be understood. For example, a purchase order represented in XML can be validated with an XML Schema before it is sent between buyer and seller. This validation verifies that all of the elements (individual pieces) of data exist, are in the expected sequence, and are all of the correct data type. This ensures that the recipient of the purchase order will be able to interpret the data correctly when it is received.

Q & A Define XML, CSS, XSL and XSD. Define XML schema. Write points for XML vs HTML Write points for Advantages and Uses of XML

Lab + Assign VDO Lecture 10 ABS Beginner Series Assignment = Exercise in Register copy

T H A N K S