Eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA 91101 USA 626-535-9658 www.eriscorp.com XML Overview Introduction to XML for.

Slides:



Advertisements
Similar presentations
Chapter 7 An Introduction to XML.
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 and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
An Introduction to XML Based on the W3C XML Recommendations.
XML 6.3 DTD 6. XML and DTDs A DTD (Document Type Definition) describes the structure of one or more XML documents. Specifically, a DTD describes:  Elements.
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.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
XML e X tensible M arkup L anguage 1/23.
IS 373—Web Standards Todd Will
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
DECO 3002 Advanced Technology Integrated Design Computing Studio Tutorial 5 – XML Basic School of Architecture, Design Science and Planning Faculty of.
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
Introduction to XML: Yong Choi CSU Bakersfield.
Document Type Definitions. XML and DTDs A DTD (Document Type Definition) describes the structure of one or more XML documents. Specifically, a DTD describes:
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
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.
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
 Introduction to XML Introduction to XML  Features of XML Features of XML  Syntax of XML Syntax of XML  Syntax rules of XML document Syntax rules.
What is XML? XML stands for EXtensible Markup Language
CREATED BY ChanoknanChinnanon PanissaraUsanachote
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
Introduction to XML 1. XML XML started out as a standard data exchange format for the Web Yet, it has quickly become the fundamental instrument in the.
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 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
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,
Electronic Commerce COMP3210 Session 4: Designing, Building and Evaluating e-Commerce Initiatives – Part II Dr. Paul Walcott Department of Computer Science,
Avoid using attributes? Some of the problems using attributes: Attributes cannot contain multiple values (child elements can) Attributes are not easily.
How do I use HTML and XML to present information?.
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.
CIS 275—Web App Dev I XML. 2 Introduction to XMLXML XML stands for ________________________. HTML was designed to display data. XML was designed to _________.
1 Dr Alexiei Dingli XML Technologies XML. 2 XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry.
XML Documents Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Elements Attributes Comments PI Document.
Eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Reporting made easy DataReady for web-based.
WEB APPLICATION DEVELOPMENT For More visit:
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.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
Lecture 16 Introduction to XML Boriana Koleva Room: C54
Web Technologies COMP6115 Session 4: Adding a Database to a Web Site Dr. Paul Walcott Department of Computer Science, Mathematics and Physics University.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
An Introduction to XML Sandeep Bhattaram
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Understanding How XML Works Ellen Pearlman Eileen Mullin Programming the.
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 Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
INFSY 547: WEB-Based Technologies Gayle J Yaverbaum, PhD Professor of Information Systems Penn State Harrisburg.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
ASHIMA KALRA  INTRODUCTION OF XML INTRODUCTION OF XML  XML FEATURES XML FEATURES  XML SYNTAX XML SYNTAX  XML ELEMENTS XML ELEMENTS  XML ATTRIBUTES.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML. HTML Before you continue you should have a basic understanding of the following: HTML HTML was designed to display data and to focus on how data.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
PART 1 XML Basics. Slide 2 Why XML Here? You need to understand the basics of XML to do much with Android All of they layout and configuration files are.
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.
Extensible Markup Language (XML) Pat Morin COMP 2405.
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.
Session III Chapter 6 – Creating DTDs
What is XML?.
CSE591: Data Mining by H. Liu
Session II Chapter 6 – Creating DTDs
Allyson Falkner Spokane County ISD
Presentation transcript:

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA XML Overview Introduction to XML for the MultiValue Developer

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Why are we here? XML is the post-SQL database environment. MultiValue developers are starting to integrate to data in this format To understand the document structure of XML files To know how XML is used To see how it relates to MultiValue systems. To add more buzzwords on your resume

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA eris Database to Web integration since 1992 Customers with up to $2 Billion in annual revenue Clients throughout North America Education, Medical, Manufacturing, EDI, Distribution, Sales Force Automation, Help Desk, and Reporting Systems e-Commerce and database product development, e.g., WebWizard, DataReady, mv://e-Store Los Angeles and Chicago offices

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Agenda About eris What is XML? How is XML used? Integration with MultiValue Syntax Advanced Issues

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA What is XML? XML is a cross-platform, software and hardware independent tool for transmitting information

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Main XML Features Like HTML, it's just ordinary ASCII text It’s an Extensible Markup Language Resembles HTML, but does not replace HTML Delivers or describes data It doesn't PERFORM anything Unlike HTML, there are no standard tags. Advanced XML users deploy Document Type Definition (DTD) and/or XML Schema DTD and Schema resemble MultiValue dictionaries Can be viewed using browsers

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA How is XML used? For web developers, it separates web pages from the data in the web pages For interdependent companies, it allows data to be exchanged between incompatible databases For interdependent software programs, it allows data to be exchanged between software packages For interdependent companies on the internet, it's the primary language for B2B

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Other uses for XML XML can be used as a database directly XML has been extended into WAP and WML

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Syntax Requirements Elements Attributes Validation

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Example XML Document Monica Gus See you soon September 21, 2004 Do you want to grab a drink after the Spectrum show?

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA This line is a given Monica Gus See you soon September 21, 2004 Do you want to grab a drink after the Spectrum show?

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA A new element called “note” Monica Gus See you soon September 21, 2004 Do you want to grab a drink after the Spectrum show?

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA elements that belong to note Monica Mel See you soon September 21, 2004 Do you want to grab a drink after the Spectrum show?

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA The end of the note tag Monica Gus See you soon September 21, 2004 Do you want to grab a drink after the Spectrum show?

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Requirements Unlike HTML, closing tags are required Unlike HTML, the tags are case sensitive Unlike HTML, the tags can nest but must nest themselves correctly Unlike HTML, space characters are not ignored

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA More Requirements XML documents require a root element Descriptive attributes need quotation marks (double or single)

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Elements Programs that deal with XML pay attention to only the element tags they care about For example, programs that pay attention to just "to" and "body" can ignore "from", "subject" and "delivery"

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Element Relationships Parent Child Siblings

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA London Sydney Introduction to XML What is XML XML Syntax Introduction to SQL SQL versus Multi-Value Popular SQL databases Another Example

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA The Element jargon continues element content - simple or text content - mixed content - and empty content - attributes - month and year values for the attributes - "09", "10" and "2004"

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Element – Naming Rules Names can contain letters, numbers, and other characters (except spaces and colons) Names must begin with a letter Names must not begin with the letters "XML" in any case combination Suggestions –Don't use periods or hyphens –Keep them simple but descriptive –Try to use names similar to how the data –Perhaps use underscores instead of periods

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Attributes [ ]

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Elements versus Attributes [ ] [ ]

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Why Avoid Attributes? Might be obvious for MultiValue developers –They cannot contain multiple values (child elements can) –They are not easily expandable (for future changes) –They cannot nest –Document Type Definition have a harder time validating attributes

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Imagine the following bad attribute situation <note to="Monica" from=“Mel" subject="See you soon" delivery_day="23" delivery_month="09" delivery_year="2004" body="Do you want to grab a drink after the Spectrum show?"

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA When attributes make sense: Describing the element, not the data London Sydney

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Advanced Issue: Validation Valid documents have rules that they can be compared against Documents that have any errors whatsoever are supposed to be rejected

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Example for validation <note to="Monica" from=“Mel" subject="See you soon" delivery_day="23" delivery_month="09" delivery_year="2004" body="Do you want to grab a drink after the Spectrum show?"

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Two types of advanced XML design Document Type Definition (DTD) allows you to create a validation –Internal Definition –External Definition Schemas allow you to create validations and database structures

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA DTD Syntax Internal External

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Example of an Internal DTD <!DOCTYPE note [ ]> Monica Mel See you soon September 21, 2004 Do you want to grab a drink after the Spectrum show?

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Example of an External DTD <!DOCTYPE note SYSTEM " > Monica Mel See you soon September 21, 2004 Do you want to grab a drink after the Spectrum show?

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Sample Product Catalog (Page 1 of 2) <!DOCTYPE CATALOG [ <!ATTLIST PRODUCT NAME CDATA #IMPLIED CATEGORY (HandTool|Table|Shop-Professional) "HandTool" PARTNUM CDATA #IMPLIED PLANT (Pittsburgh|Milwaukee|Chicago) "Chicago" INVENTORY (InStock|Backordered|Discontinued) "InStock">

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Sample Product Catalog (Page 2 of 2) <!ATTLIST SPECIFICATIONS WEIGHT CDATA #IMPLIED POWER CDATA #IMPLIED> <!ATTLIST OPTIONS FINISH (Metal|Polished|Matte) "Matte" ADAPTER (Included|Optional|NotApplicable) "Included" CASE (HardShell|Soft|NotApplicable) "HardShell"> <!ATTLIST PRICE MSRP CDATA #IMPLIED WHOLESALE CDATA #IMPLIED STREET CDATA #IMPLIED SHIPPING CDATA #IMPLIED> ]>

eagle rock information systems 199 So Los Robles, Suite 860, Pasadena, CA USA Contact us Main Office:199 S. Los Robles Ave, Suite 860 Pasadena, CA Tel: (626) Fax: (626) eriscorp.com