ACG 4401 Chapter 2 1.  Meta-Language  A language that can be used to create others (vocabularies) ▪ Universal Business Language (UBL) ▪ Extensible Business.

Slides:



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

CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
Extensible Markup Language XML MIS 520 – Database Theory Fall 2001 (Day) Lecture 14.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
Tutorial 11 Creating XML Document
The Information School at the University of Washington LIS 549 U/TU: Intro to Content Management Fall 2003 * Bob Boiko * MSIM Associate Chair XML Schemas.
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
ACG 4401 Chapter 2 1.  Meta-Language  A language that can be used to create others (vocabularies) ▪ Universal Business Language (UBL) ▪ Extensible Business.
Copyright © 2003 Pearson Education, Inc. Slide 2-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
ACG 5405 Introduction to XBRL. Networked What does it mean to be networked? –It means the ability to pass data between software applications across a.
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.
August Chapter 2 - Markup and Core Concepts Learning XML by Erik T. Ray Slides were developed by Jack Davis College of Information Science and Technology.
XML Syntax - Writing XML and Designing DTD's
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,
Session IV Chapter 9 – XML Schemas
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.
How do I use HTML and XML to present information?.
1 XML An Overview Roger Debreceny University of Hawai`i Skip White University of Delaware XBRL Workshop, August 2006.
ACG 4401 Chapter 2 1.  A language used to create other languages  Vocabularies  Describes:  Rules and  Syntax for  Well-Formed and Valid XML Documents.
XML Documents Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Elements Attributes Comments PI Document.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
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 –
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
Advanced Accounting Information Systems Day 30 Introduction to XBRL November 4, 2009.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
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.
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.
Advanced Accounting Information Systems Day 31 XML Language Foundation November 6, 2009.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
ACG 4401 Chapter 2 1.  Meta-Language  A language that can be used to create others (vocabularies) ▪ Universal Business Language (UBL) ▪ Extensible Business.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
Tutorial 13 Validating Documents with Schemas
Jennifer Widom XML Data Introduction, Well-formed XML.
ACG 5405 Introduction to XBRL. Networked What does it mean to be networked? –It means the ability to pass data between software applications across a.
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
225 City Avenue, Suite 106 Bala Cynwyd, PA , phone , fax presents… XML Syntax v2.0.
Well Formed XML The basics. A Simple XML Document Smith Alice.
XML & UBL ACG 6415 Chapter 2. Extensible Markup Language - XML Meta-Language A language that can be used to create others (vocabularies) Universal Business.
Advanced Accounting Information Systems
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
ACG 4401 Chapter 2 1.  A language used to create other languages  Vocabularies  Describes:  Rules &  Syntax  For Structuring Documents!  Does NOT.
ACG 6415 XML Schemas XML Namespaces XMLink. The XML Foundation  Many participants – an extended family! XML documents – carry data in context  Each.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Extensible Markup Language
ACG 5405 Introduction to XBRL. What is a Supply Chain?
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.
ACG 5405 Introduction to XBRL. What is a Supply Chain?
Advanced Accounting Information Systems Day 28 Introduction to XBRL October 30, 2009.
ACG 5405 Introduction to XBRL. What is a Supply Chain?
Unit 4 Representing Web Data: XML
Eugenia Fernandez IUPUI
XML & UBL ACG 6415 Chapter 2.
Chapter 7 Representing Web Data: XML
XML Data Introduction, Well-formed XML.
14 XML.
Review of XML IST 421 Spring 2004 Lecture 5.
XML IST 421.
Presentation transcript:

ACG 4401 Chapter 2 1

 Meta-Language  A language that can be used to create others (vocabularies) ▪ Universal Business Language (UBL) ▪ Extensible Business Reporting Language (XBRL)  Application has sets of xml documents  Instance Document.xml ▪ contains the data (chapter 2 & Chapter 4)  Schema Document.xsd ▪ Describes allowed structure (data types, element names) of instance document (chapter 3)  Stylesheet.xsl ▪ Formatting instructions for data in the instance document (chapter 5)

 A language used to create other languages  Vocabularies  Describes:  Rules &  Syntax  For Structuring Documents!  Does NOT describe tag names 3

 Well Formed documents  meet basic rules for XML (chapter 2)  Valid documents  Meets rules regarding structure, order and data- types as described in Schema (chapter 3) 4

TTags MMeta-data ▪d▪description of data enclosed within brackets ▪ <>, opening /> closing EElement OOpening tag, data, and Closing tag ▪<▪<instructor>Dr. Hornik</instructor> AAttribute ▪D▪Data that adds meaning to the data adding meaning to the data ▪D▪Data describing the tag ▪<▪<Instructor Campus=“Main”>Dr. Hornik</Instructor> 5

 Hierarchy  Parent/Complex ▪ Does not enclose data ▪ Encloses/Contains other elements ▪  Dr. Hornik ▪ ▪ Root Element ▪ Encloses All other elements in Instance Document  Child/Simple ▪ Encloses Data ▪ Dr. Hornik 6 Parent Child

1. The first line of an XML document must contain the prologue. 2. The main theme of the XML document – the root element - must enclose all the other elements in the document. There can be only one root element. 3. Every element must have an opening tag name <> and a closing tag name and they must match (case sensitive).  Documents can have empty elements.

4. Elements must be properly nested, that is you close the tag that was opened last – think of tags as using a LIFO convention or more properly a LOFC Last Opened First Closed convention (though it doesn’t have quite the same ring to it). 5. Elements can have attributes.  Attributes follow the opening tag name ▪ attributeName=“attributeValue” ▪ attributeName is not included in the closing tag

 Every XML document starts with a prolog  It lets the XML enabled processor know that this is an XML document to be processed  UCS Transformation Format—8-bit) is a variable-width encoding that can represent every character in the Unicode character set.  Comment

Belmopan Cayo Belize Belmopan is the capital of Belize Belmopan was established following the devastation of the former capital,Belize City, by Hurricane Hattie in High ground and open space influenced the choice and ground-breaking began in By 1970 most government offices and operations had already moved to the new location. Root element Parent element

Universal Business Language 11

 Organization for the Advancement of Structured Information Standards (OASIS)  Complete XML based library of business documents 12

13

 When possible UBL uses the same structure for elements in different documents  PostalAddress can be used in:  Catalogue  Purchase Order  Invoice  … ▪ So it has the same structure ▪ Main St. 56A Newark DE ▪ ▪ USA ▪

 Each has a unique Root Element  Each has a required ID  Uniquely Identify document  Each has a required IssueDate  Determine when document is created  Optional IssueTime  Each has two Party elements  Provider/Supplier  Customer/Buyer  Each has at least one line element  CatalogueLine  OrderLine

 UBL Schema’s UBL Schema’s 16

 UBL defines what the root element name is 

 Parent elements contain or enclose other elements  Root ( ) Parent of:  ▪  ▪  ▪ What are the Parent elements within this element?

 Attributes are contained within an opening element tag <>  attributeName=“attribute value”  Name-pair value   1

Processes Covered

 Sample Despatch Advice Sample Despatch Advice

22

 Assume Customers place Pizza Order over phone  What data is captured with order?  Customer ▪ Phone# ▪ Name ▪ Address  Order ▪ Items ▪ Delivery/Pickup ▪ Total Amount 23

 In-class/Windows use NotePad  Mac use TextWrangler  You must use a Text Editor (not a word processor)  XML editor – Exchanger XML Lite (PC and Mac)  Testing XML  Open in Browser (IE, Firefox, Safari??)  If it opens it’s well formed  If you receive an error message it’s not 24