ACG 4401 Chapter 2 1.  A language used to create other languages  Vocabularies  Describes:  Rules &  Syntax  For Structuring Documents!  Does NOT.

Slides:



Advertisements
Similar presentations
An Introduction to XML Based on the W3C XML Recommendations.
Advertisements

CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
Tutorial 11 Creating XML Document
ACG 4401 Chapter 2 1.  Meta-Language  A language that can be used to create others (vocabularies) ▪ Universal Business Language (UBL) ▪ Extensible Business.
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.
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.
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.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Working with Namespaces Combining XML Vocabularies in a Compound Document.
WORKING WITH NAMESPACES
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Creating a Simple Page: HTML Overview
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,
XML A Single Entity. xml a single entity Objectives Objectives :  understand the data model  describe the XML Document  describe the XML Schema  describe.
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?.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
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.
IS432 Semi-Structured Data Lecture 2: DTD Dr. Gamal Al-Shorbagy.
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.
XP New Perspectives on XML, 2nd Edition Tutorial 2 1 TUTORIAL 2 WORKING WITH NAMESPACES.
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.
XML – Part III. The Element … This type of element either has the element content or the mixed content (child element and data) The attributes of the.
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.
ACG 4401 XML Schemas XML Namespaces XLink. + The XML Foundation Many participants – an extended family! XML Instance documents – carry data in context.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Understanding How XML Works Ellen Pearlman Eileen Mullin Programming the.
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.
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
1 Tutorial 12 Working with Namespaces Combining XML Vocabularies in a Compound Document.
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
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 6415 XML Schemas XML Namespaces XMLink. The XML Foundation  Many participants – an extended family! XML documents – carry data in context  Each.
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.
ACG 5405 Introduction to XBRL. What is a Supply Chain?
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?
XML Databases Presented By: Pardeep MT15042 Anurag Goel MT15006.
Eugenia Fernandez IUPUI
XML & UBL ACG 6415 Chapter 2.
XML Data Introduction, Well-formed XML.
XML Data DTDs, IDs & IDREFs.
14 XML.
Presentation transcript:

ACG 4401 Chapter 2 1

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

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

 Tags  Meta data description of data enclosed within brackets <>, opening or closing  Element  Opening tag, data, and Closing tag ▪ Dr. Hornik  Attribute ▪ Data that adds meaning to the data adding meaning to the data ▪ Data describing the tag ▪ Dr. Hornik 4

 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 5 Parent Child

 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  Schema Document.xsd ▪ Describes allowed structure (data types, element names) of instance document  Stylesheet.xsl ▪ Formatting instructions for data in the instance document  All XML documents must be well-formed....

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.  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”

 Every XML document starts with a prolog  It lets the XML enabled processor know that this is an XML document to be processed  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 ElementParent Element

 Some Twitter files  

Universal Business Langauge 11

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

 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 15

 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

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

 Will use NotePad  You can use any Text Editor  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 22