XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.

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

CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
An Introduction to XML Based on the W3C XML Recommendations.
© De Montfort University, XML – a meta language Howell Istance and Peter Norris School of Computing De Montfort University.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
Tutorial 9 Working with XHTML
XHTML 16-Apr-17.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
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
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
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.
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
Working with XHTML Creating a Well-Formed Valid Document.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
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.
1/14 ITApplications XML Module Session 2: Using and Creating XML Documents.
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.
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.
Demystifying the eXtensible Markup Language Nick Roberts & Jim Few
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
XML Syntax - Writing XML and Designing DTD's
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
WHAT THE HELL IS XML?. What the Hell is XML? What the hell is XML?  Markup Language  Derived from SGML (Standardized General Markup Language)  Describes.
These Questions are copied from
Tutorial 1: XML Creating an XML Document. 2 Introducing XML XML stands for Extensible Markup Language. A markup language specifies the structure and content.
Avoid using attributes? Some of the problems using attributes: Attributes cannot contain multiple values (child elements can) Attributes are not easily.
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.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation An Introduction to XML.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
1 Introduction to XML XML stands for Extensible Markup Language. Because it is extensible, XML has been used to create a wide variety of different markup.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
What it is and how it works
XML Design Goals 1.XML must be easily usable over the Internet 2.XML must support a wide variety of applications 3.XML must be compatible with SGML 4.It.
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.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
Jennifer Widom XML Data Introduction, Well-formed XML.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
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 –
Well Formed XML The basics. A Simple XML Document Smith Alice.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Unit 3 — Advanced Internet Technologies Lesson 10 — Introduction to XHTML.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XP 1Creating Web Pages with XML Tutorial 1 New Perspectives on XML Tutorial 1 – Creating an XML Document.
XML Extensible Markup Language
XML Introduction to XML Extensible Markup Language.
XML intro. 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.
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
Creating an XML Document
Web Programming Maymester 2004
XML Data Introduction, Well-formed XML.
Allyson Falkner Spokane County ISD
Presentation transcript:

XML and Enterprise Computing

What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content not just formatting –can be defined for individual industries Allows e-commerce applications to publish databases to Web more easily –merging of relational, O-O, and XML models

What is meant by a “document”? A form of presentation –paper, browser screen, voice, etc. Structure and organization of elements –memo, contract, recipe, etc. Informational content –text and numbers organized in relation to each other

Relationship Among Markup Languages SGML HTML XML

What are some current XML applications? On-line banking Push technology Web automation Database Publishing Software Distribution

Some sample HTML Personal Computers For Sale Maker: Acme PC Inc. Model: Blaster 555 Storage: RAM 72 MB Hard Disk 2 GB

XML Sample Acme PC Inc Blaster

How is XML Presented? XML includes a DTD (Document Type Definitions) –lists the element types and the order you are allowing them to occur –XML parser tests to see them are valid DTDs XSL (XML Style Language) –similar to cascading style sheets –contain presentation information

Another Example Convert a business card into an XML document –start with representative XML content –define DTD elements

XML Rules Open and close tags define “elements” and each element must have a closing tag (except for “empty” elements) Elements appear in a strict hierarchy; upper elements are parents of lower “child” elements. DTD is not mandatory but it ensures two parties define a docement’s contents the same. –DTDs constrain the data, the hierarchy of content, and the number of times it may appear

XML Rules (cont.) Elements –XML is case sensitive –must have 1 and only 1 “root” element –elements consist of an “element name” and “element content” –element content may consist of character or other data or even other elements embedded –an XML schema or “tree” describes hierarchy of elements –empty elements are indicated by a trailing backslash

Well-Formed XML Documents Have one root element All non-empty elements have start and stop tags that match exactly All empty elements have correct trailing slash Elements are strictly nested with no overlapping elements

Attributes Allow designer to add richer metadata to elements Consist of attribute name and attribute value –attribute values are bounded by quotes –can specify as many attributes for each element as you want –some authors use UC text for attribute names to easily distinguish <address ADDTYPE=“shipto” Robert ………

Defining a DTD Element declaration begins with “ –this contains an element name and content model surrounded by parentheses –elements can contain data or other elements or be empty to indicate it contains data we use (#PCDATA) if it contains other elements we list them in brackets (name, title, address, etc) empty elements use the key word “EMPTY”

Further DTD Specifications Designer can specify the number of times an element may appear –“?” means it may occur 0 or 1 times in document –“*” means it may occur 0 or more times –“+” means it may appear 1 or more times –can enumerate possible alternative with “|” –can specify an attribute is required with #REQUIRED –#IMPLIED means attribute may not have a value

Try another example Think of your resume, posted say on Monster.com –What does html for this look like? Write your resume in XML???? –What is the “root” element? Why would this be valuable?

Another Example Creating an “order” in XML –include a “prolog”of XML document header information before root element may include processing instructions and DTD declaration ex. may include comments in prolog or after –start with

XML Document XML DTD XML Processor XML App

Some XML Processors Processors are either “validating” or “non- validating” Msxml –developed by MS Corp. Java and ActiveX versions Aelfred –Java-based XML. Microstar Corp. XP –Java-based XML processor by James Clark