Introduction to XML By Manzur Ashraf (Shovon) Dept. of Computer Science & Engineering (BUET)

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

3.02B Authoring Languages 3.02 Develop webpages..
Standards and Increasing Maintainability on Web- based Systems James Eaton SE4112/16/2006.
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
The Semantic Web. The Web Today Designed for Human to read Cannot express meaning Architecture: URL –Decentralized: Link structure Language: html.
The Web of data with meaning... By Michael Griffiths.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
Lecture 2B: HTML and CSS IT 202—Internet Applications Based on notes developed by Morgan Benton.
CS155b: E-Commerce Lecture 10: Feb. 13, 2003 XML and its relationship to B2B commerce Acknowledgements: R. Glushko, A. Gregory, and V. Ramachandran.
CS 898N – Advanced World Wide Web Technologies Lecture 22: Applying XML Chin-Chih Chang
Russell Taylor Lecturer in Computing & Business Studies.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
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.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Creating a Simple Page: HTML Overview
XRML Syntax and Automated Form Processing IIS/EC Lab Mye M. Sohn.
Chapter 16 The World Wide Web. 2 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML.
August Chapter 1 - Introduction Learning XML by Erik T. Ray Slides were developed by Jack Davis College of Information Science and Technology Radford.
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
The Internet A Wide Area Network across the world The network of networks –Lots of smaller networks joined together.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
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.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Pervasive e-commerce with XML Babak Esfandiari Carleton University Ottawa, Canada.
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.
What are Webservices?. Web Services  What are Web Services?  Examine important Web Services acronyms (UDDI, SOAP, XML and WSDL)  What are the benefits.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
The Semantic Web and Microformats. The Semantic Web Syntax = how you say something – Letters, words, punctuation Semantics = meaning behind what you say.
Chapter 16 The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
Lesson 1 What Is the World Wide Web?. Objectives Upon completion of this lesson, you should be able to: Explain what the World Wide Web is and how it.
HTML Concepts and Techniques Fourth Edition Project 12 Creating and Using XML Documents.
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 and Digital Libraries M. Zubair Department of Computer Science Old Dominion University.
Copyrighted material John Tullis 10/17/2015 page 1 04/15/00 XML Part 3 John Tullis DePaul Instructor
Overview of HTML and XML. Contents n History n Usage n Examples n Advantages n Disadvantages.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
XML Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
EXtensible Markup Language XML Question: What is the most common use of XML Answer: As a buzzword to spice up a resume.
Introduction to XML MIS3502: Application Integration and Evaluation Paul Weinberg Presentation by David Schuff.
Tutorial 1 Developing a Basic Web Page. Objectives Learn the history of the Web and HTML Describe HTML standards and specifications Understand HTML elements.
IT Accessibility Committee XML as Content Management Presented by Michael B. Short May 11, 2006 Prepared by the NYS Forum IT Accessibility Committee
Basics of Web Based Computing. The Architecture The user’s system A Web Server What’s inside? Server software Apache or other Resources to be accessible.
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
From XML to DAML – giving meaning to the World Wide Web Katia Sycara The Robotics Institute
The idea of adding markup instructions to documents is not new. Before computers, authors would make annotations by hand in their written or typed documents.
April 20023CSG11 Electronic Commerce Markup languages John Wordsworth Department of Computer Science The University of Reading
CS Introduction to XML - What is XML? Extensible Markup Language, or XML for short, is a new technology for web applications. XML is a World Wide.
Connecting to External Data. Financial data can be obtained from a number of different data sources.
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 QUESTIONS AND ANSWERS
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
XML Data Introduction, Well-formed XML.
Meaning Matters Semantic Markup.
Presentation transcript:

Introduction to XML By Manzur Ashraf (Shovon) Dept. of Computer Science & Engineering (BUET)

What is XML? Extensible Markup Language, or XML for short, is a new technology for web applications. XML is a World Wide Web Consortium standard that lets you create your own tags. XML simplifies business- to-business transactions on the web.

Why Do We Need XML? Why do we need XML when everyone's browser supports HTML today? To answer this question, look at the sample HTML Code shown. HTML tags are for browsing; they're meant for interactions between humans and computers. Shovon DataPro Dhaka

Rendering HTML When rendered, the HTML in the previous example looks like this. As you can see, HTML tags describe how something should render. They don't contain any information about what the data is, they only describe how it should look. Shovon DataPro Dhaka

Sample XML Code Now let's look at some sample XML Code. With XML, you can understand the meaning of the tags. More importantly, a computer can understand them as well. It's easier for a computer to understand that the tag is a zip code. Shovon DataPro Dhaka

Rendering XML XML from the previous example might be rendered like this. Notice that even though the tags are different, they can still be rendered just like HTML. Shovon DataPro Dhaka

A Second Rendering of XML By applying a different stylesheet to the same document, an XML document can be rendered in different formats. The key is that with XML the information is in the document, while the rendering instructions are elsewhere. In other words, content and presentation are separate.

How XML Will Change the Web XML applications provide many advantages. Let's talk about several of those now. XML's strongest point is its ability to do data interchange. Because different organizations (or even different parts of the same organization) rarely standardize on a single set of tools, it takes a significant amount of work for two groups to communicate. XML makes it easy to send structured data across the web so that nothing gets lost in translation.

Enable Business to Business Communication When using XML, I can receive XML-tagged data from your system, and you can receive XML-tagged data from mine. Neither of us has to know how the other's system is organized. If another partner or supplier teams up with my organization, I don't have to write code to exchange data with their system. I simply require them to follow the document rules defined in the DTD.

Enable Smart Agents When writing an agent, one of the challenges is to make sense of incoming data. A good agent interprets information intelligently, then responds to it accordingly. If the data sent to an agent is structured with XML, it's much easier for the agent to understand exactly what the data means and how it relates to other pieces of data it may already know.

Enable Smart Searches One major problem with today's web is that search engines can't process HTML intelligently. For example, if you search on "chip" when you're looking for someone named Chip, you might get pages on chocolate chips, computer chips, and guys named Chip. But if there were a DTD for name and address records, searching for a guy named Chip could generate much more accurate and useful search results. chip

Summary So why do we need XML? XML makes it easier for two computers to exchange data with each other. Your data is described using tags that describe what each piece of data is. XML doesn't replace HTML, though; they're designed for different purposes. XML is the Web's language for data interchange and HTML is the Web's language for rendering.

Review Let's review. When is it appropriate to use XML? A. When I want to display something in a browser. B. When I feel like creating my own tags. C. When I want to add a buzzword to my resume. D. When I need to send self-describing data to another machine or application.

[The correct answer is D.]

The XML Enabler The architecture of the XML Enabler is simple. When a browser attempts to load an XML document, the XML Enabler looks at the type of browser that requested the document. The XML Enabler then selects a stylesheet written in the Extensible Stylesheet Language, or XSL, based on the browser type.