XML & UBL ACG 6415 Chapter 2. Extensible Markup Language - XML Meta-Language A language that can be used to create others (vocabularies) Universal Business.

Slides:



Advertisements
Similar presentations
XSL eXtensible Stylesheet Language. What is XSL? XSL is a language that allows one to describe a browser how to process an XML file. XSL can convert an.
Advertisements

1 Enterprise IT [Πληροφοριακές Τεχνολογίες της Επιχείρησης] Lecture 4 & 5: XML Overview Univ. of the Aegean Financial and Management Engineering Dpt Petros.
XML CS 105. What is XML? XML stands for Extensible Markup Language. XML is a markup language like HTML. XML was designed to describe data. You must define.
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.
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
Jennifer Widom XML Data DTDs, IDs & IDREFs. Jennifer Widom DTDs, IDs & IDREFs “Well-Formed” XML Adheres to basic structural requirements Single root element.
ACG 4401 XML Schemas XML Namespaces XLink. + The XML Foundation Many participants – an extended family! XML Instance documents – carry data in context.
ACG 4401 XML Schemas XML Namespaces XMLink. + The XML Foundation Many participants – an extended family! XML Instance documents – carry data in context.
ACG 4401 Chapter 2 1.  Meta-Language  A language that can be used to create others (vocabularies) ▪ Universal Business Language (UBL) ▪ Extensible Business.
Aalborg University – Department of Production XML Extensible Markup Language Kaj A. Jørgensen Aalborg University, Department of Production XML – Extensible.
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.
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
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.
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.
How do I use HTML and XML to present information?.
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
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.
ACG 6415 XSLT Presenting XML and XBRL. Re-Purpose  The main benefit of XML / XBRL Reusability of Data contained in Instance Document We need a method.
Advanced Accounting Information Systems Day 30 Introduction to XBRL November 4, 2009.
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.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
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.
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.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
1 herbert van de sompel CS 502 Computing Methods for Digital Libraries Cornell University – Computer Science Herbert Van de Sompel
ACG 4401 XSLT Extensible Stylesheet Language for Transformations Presenting XML and XBRL.
Advanced Accounting Information Systems
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
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 4401 XSLT Extensible Stylesheet Language for Transformations Presenting XML and XBRL.
ACG 6415 XML Schemas XML Namespaces XMLink. The XML Foundation  Many participants – an extended family! XML documents – carry data in context  Each.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
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.
ACG 4401 XML Schemas XML Namespaces XLink.
ACG 4401 XML Schemas XML Namespaces XLink.
The XML Language.
ACG 4401 XSLT Extensible Stylesheet Language for Transformations
XML & UBL ACG 6415 Chapter 2.
XML Data Introduction, Well-formed XML.
XML Data DTDs, IDs & IDREFs.
Presentation transcript:

XML & UBL ACG 6415 Chapter 2

Extensible Markup Language - XML 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....

XML Rules – A well formed document The first line of an XML document must contain the prologue. 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 Every element must have an opening tag <> and a closing tag 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). Elements can have attributes. Attribute values are enclosed with “ ” and can have no spaces.

Prolog and Comment Every XML document starts with a prolog It lets the XML enabled processor know that this is an XML document to be processed Comment

XML Concepts Prolog the first line of any XML based document Element A Tag set (the tag name, its attribute and data) John Smith Element Hierarchy Root Element Contains (or encloses) all the other elements Parent Element Contains other elements Used to represent information about one Instance of an entity For example a customer order Child Element Enclosed by Parent element Represents attributes describing the Parent Element For example: customer name, date of order, items ordered, etc. Attributes used to modify or clarify the data in an element 130

Element Hierarchy 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 Child Elements

Lets look at more xml Some Twitter files

Deliver Service to Customer Jimmy Jones AutoCare Service Request Let’s build an XML Instance Document for this What data do we need? Test your XML (is it well-formed?) Open in Browser Open in Excel

9 Merry Maids Narrative 9

UBL Universal Business Language

Root Element The first element tag after the prolog Encloses all other elements UBL defines what the root element name is

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

Reusable Elements 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

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

UBL document Rules 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 Models Processes Covered

Despatch Advice (Shipping Notice) Sample Despatch Advice