1 Enterprise IT [Πληροφοριακές Τεχνολογίες της Επιχείρησης] Lecture 4 & 5: XML Overview Univ. of the Aegean Financial and Management Engineering Dpt Petros.

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.
Web Development & Design Foundations with XHTML
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
Extensible Markup Language Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
1 Computer applications in the modern enterprise Επιχειρησιακές Εφαρμογές Η/Υ Lectures 10-13: Business Intelligence and Enterprise Reporting Univ. of the.
1 Enterprise IT [Πληροφοριακές Τεχνολογίες της Επιχείρησης] Lecture 1, 2 and 3: Enterprise Systems Architecture Univ. of the Aegean Financial and Management.
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang,
IS 373—Web Standards Todd Will
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
DT228/3 Web Development Introduction to XML.
CS155b: E-Commerce Lecture 10: Feb. 13, 2003 XML and its relationship to B2B commerce Acknowledgements: R. Glushko, A. Gregory, and V. Ramachandran.
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
XML(EXtensible Markup Language). XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe.
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
Introduction to XML: Yong Choi CSU Bakersfield.
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
1 Business Process Management Systems [Συστήματα Διαχείρισης Επιχειρησιακών Διαδικασιών] Lecture 3, 4, 5, 6: Business Process Analysis – Process Modeling.
Chapter 9 Web Services Architecture and XML. Objectives By study in the chapter, you will be able to: Describe what is the goal of the Web services architecture.
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.
1 Enterprise IT [Πληροφοριακές Τεχνολογίες της Επιχείρησης] Lecture 6-9: XSD Overview Univ. of the Aegean Financial and Management Engineering Dpt Petros.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Pemrograman Berbasis WEB XML -Aurelio Rahmadian- Sumber: w3cschools.com.
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
XML eXtensible Markup Language w3c standard Why? Store and transport data Easy data exchange Create more languages WSDL (Web Service Description Language)
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
XML Extensible Markup Language. What is XML? An infrastructure for describing text and data Developed by W3C(the World Wide Web Consortium)
These Questions are copied from
 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,
Tutorial 1: XML Creating an XML Document. 2 Introducing XML XML stands for Extensible Markup Language. A markup language specifies the structure and content.
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
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 _________.
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.
WEB APPLICATION DEVELOPMENT For More visit:
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
17 Apr 2002 XML Syntax: Documents Andy Clark. Basic Document Structure Element tags – Elements have associated attributes Text content Miscellaneous –
An Introduction to XML Sandeep Bhattaram
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
What it is and how it works
XML for Text Markup An introduction to XML markup.
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.
CHAPTER 15 WPF Windows Presentation Foundation Dr. John Abraham Professor, UTPA.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Unit 10 Schema Data Processing. Key Concepts XML fundamentals XML document format Document declaration XML elements and attributes Parsing Reserved characters.
1 herbert van de sompel CS 502 Computing Methods for Digital Libraries Cornell University – Computer Science Herbert Van de Sompel
Well Formed XML The basics. A Simple XML Document Smith Alice.
What is XML? eXtensible Markup Language eXtensible Markup Language A subset of SGML (Standard Generalized Markup Language) A subset of SGML (Standard Generalized.
ASHIMA KALRA  INTRODUCTION OF XML INTRODUCTION OF XML  XML FEATURES XML FEATURES  XML SYNTAX XML SYNTAX  XML ELEMENTS XML ELEMENTS  XML ATTRIBUTES.
Introduction to DTD A Document Type Definition (DTD) defines the legal building blocks of an XML document. It defines the document structure with a list.
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.
XML blocks XML STRUCTURE The most basic building blocks of an XML file are elements, attributes and comments. Compiled based on Tutorial PhUSE 2008 XML.
Dave Salinas. What is XML? XML stands for eXtensible Markup Language Markup language, like HTML HTML was designed to display data, whereas XML was designed.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
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.
Unit 4 Representing Web Data: XML
Allyson Falkner Spokane County ISD
Presentation transcript:

1 Enterprise IT [Πληροφοριακές Τεχνολογίες της Επιχείρησης] Lecture 4 & 5: XML Overview Univ. of the Aegean Financial and Management Engineering Dpt Petros KAVASSALIS

2 What you will learn in this course A set of fundamental concepts for understanding basic Enterprise Information Technologies A set of fundamental concepts for understanding basic Enterprise Information Technologies  Enterprise Software Applications  Enterprise Architecture Integration (EAI) Best practices and techniques for building and migrating to a service- oriented enterprise Best practices and techniques for building and migrating to a service- oriented enterprise Strategies for integrating applications using standard technologies Strategies for integrating applications using standard technologies  XML  Web Services Familiarization with concepts such as: Familiarization with concepts such as:  Interoperability  e-business  e-government 2.0

3 Communication tools Course web site: see FME web site Course web site: see FME web site

4 Students evaluation Class Participation (20%) Class Participation (20%)+ Assignments (20%) Assignments (20%)+ Final Exam (650%) Final Exam (650%)

First go to 5

XML in a nutshell XML: Extensible Markup Language XML: Extensible Markup Language  XML Working Group at W3C (please visit!) Used for the definition of methods of storing, processing and managing information (texts) in electronic form Used for the definition of methods of storing, processing and managing information (texts) in electronic form  Device independent  System independent Used to represent business transactions within and outside the enterprise and mediate communication between systems that support transactions Used to represent business transactions within and outside the enterprise and mediate communication between systems that support transactions  Example: purchase orders, invoices, shipping, bills of lading, warehousing information delivery etc Used to standardize the process by which enterprise applications exchange message in the context of a transaction (within the enterprise or between trading partners) Used to standardize the process by which enterprise applications exchange message in the context of a transaction (within the enterprise or between trading partners) 6

Markup etc. Markup Markup  Describe annotations or special marks (codes) inserted into electronic texts to govern text formatting, processing, printing etc.  Make explicit the representation of text Markup language Markup language  A set of conventions put together for encoding texts o What markup? o What is required? o What does it mean? o How can it be distinguished from text? Meta-language Meta-language  Provides a way of formally describing a language, i.e. a markup language  XML: no predetermined tags  XML: Descriptive markup (the mark-up annotations simply categorize parts of the document) 7

Re-usability A language for creating other languages! A language for creating other languages!  One uses XML to design his (her) own custom markup language (XMP application)  The, he(she) uses this custom language to format documents A tag identifies (characterizes) data, data in that way become available for other tasks A tag identifies (characterizes) data, data in that way become available for other tasks  Labeled information that can be re-used Sister technology: XML Schemas Sister technology: XML Schemas  Defines the custom markup language one creates with XML o Specifies tags to use in a document o Tags and attributes these tags can contain 8

XML: Why do we need it? [from S. Madnick Course at MIT ] 9

XML: Elements, Attributes and Values Tove Jani Reminder Don't forget me this weekend!

Note: [ Reference for the following examples]

XML: Declaring the version, root element and other rules Closing tags are required Closing tags are required Case matters Case matters Values must enclosed in quotations Values must enclosed in quotations 12

XML: Nesting elements XML: Nesting elements <endangered_species><animal> Tiger Tiger poachers poachers 500 pounds 500 pounds </animal> Important: The elements in an XML document form a document tree. The tree starts at the root and branches to the lowest level of the tree. An element nested with another is referred to as “child element” (or, inversely, “parent element”) Important: The elements in an XML document form a document tree. The tree starts at the root and branches to the lowest level of the tree. An element nested with another is referred to as “child element” (or, inversely, “parent element”) animal: 3 child elements

XML: Attributes <endangered_species><animal> Tiger Tiger panthera tigris panthera tigris poachers poachers 500 pounds 500 pounds 14

XML: Empty Elements <endangered_species><animal> Tiger Tiger panthera tigris panthera tigris poachers poachers 500 pounds 500 pounds 15

XML: Writing comments <endangered_species><animal> Tiger Tiger panthera tigris panthera tigris poachers poachers 500 pounds 500 pounds </endangered_species> 16

XML: Special Symbols (&amp, &lt, &gt, &quot, &apos) <endangered_species><animal> Tiger Tiger panthera tigris panthera tigris poachers poachers &lt500 pounds &lt500 pounds 17

XML: Displaying elements as text <xml_book><tags><appearance> <animal> Tiger panthera tigris Tiger panthera tigris <threat>poachers</threat> 500 pounds 500 pounds ]]></appearance></tags></xml_book> 18

Check point: Understand an XML document 19 Please visit: Debugging an XML document Please visit: Debugging an XML document 

Homework Take a catalogue from a furniture shop Take a catalogue from a furniture shop Create an XML document Create an XML document 20

Check point: Create an XML Document [Reference: Allen Schmidt Class Support Home Page] Items = {Item} <--This means that there are multiple Item entries within Items Item contains Items = {Item} <--This means that there are multiple Item entries within Items Item contains  Item Number  Description  Selling Price  Cost  Quantity On Hand  Date Last Received  Quantity Sold; Year-To-Date (current) / *modification  Warehouse Section  Warehouse Shelve {Supplier} <-- This means that there are several suppliers for each item Instructions Instructions  First structure the information  Then, create the document  At the end, validate it! 21