Skip 2007 Current Issues in MIS The XML Language Foundation - 2007 f - Clinton E. White, Jr Professor of Accounting & MIS Lerner College of B&E University.

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

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: Extensible Markup Language
17 Apr 2002 XML Namespaces Andy Clark. The Problem Documents use different vocabularies – Example 1: CD music collection – Example 2: online order transaction.
DEV09: Date/Time: Wednesday, December 6 from 10:00 to 10:30 am Session Leader: Bill Palmer, R W Palmer Consulting Interactive Spreadsheets Formats and.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
Unit 4 – XML Schema XML - Level I Basic.
Introduction to XML This material is based heavily on the tutorial by the same name at
ACG 4401 XML Schemas XML Namespaces XLink. + The XML Foundation Many participants – an extended family! XML Instance documents – carry data in context.
1 Advanced Topics XML and Databases. 2 XML u Overview u Structure of XML Data –XML Document Type Definition DTD –Namespaces –XML Schema u Query and Transformation.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
ACG 4401 XML Schemas XML Namespaces XMLink. + The XML Foundation Many participants – an extended family! XML Instance documents – carry data in context.
Skip 2013 Inline XBRL vs. XBRL for Financial Reporting UWCISA Symposium on Information Integrity & IS Assurance - Toronto, Oct 3, Clinton E. White,
4/20/2017.
XML TOPIC MAP JUNG J. W.. SNU OOPSLA Lab. contents What ’ s XTM? Why XTM? Element of XTM XTM Conceptual Model DTD Introduction to XTM Syntax.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Skip Auditing an XBRL Instance Document: The Case of United Technologies Corp. A discussion and extension Clinton E. White, Jr Professor of Accounting.
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation XML Schema 1 Lecturer.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Schemas Ellen Pearlman Eileen Mullin Programming the Web Using XML.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
Session II Chapter 2 – Chapter 2 – XSLhttp://
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Introduction to XML. What is XML? Extensible Markup Language XML Easier-to-use subset of SGML (Standard Generalized Markup Language) XML is a.
 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
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
1 XML An Overview Roger Debreceny University of Hawai`i Skip White University of Delaware XBRL Workshop, August 2006.
New Perspectives on XML, 2nd Edition
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
XML EXtensible Markup Language. Agenda Introduction to XML XML Rules XML Elements XML Attributes XML Validation XML Exercises XML Namespaces XML CDATA.
XLinks Praveen Polishetty. Contents : XLink Capabilities XLink Concepts XLink Core Properties XLink Semantic Properties XLink Behavior Properties XLink.
ACG 4401 XML Schemas XML Namespaces XLink. + The XML Foundation Many participants – an extended family! XML Instance documents – carry data in context.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
Advanced Accounting Information Systems Day 31 XML Language Foundation November 6, 2009.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
XML Schema. Why Validate XML? XML documents can generally have any structure XML grammars define specific document structures Validation is the act of.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
Processing of structured documents Spring 2003, Part 3 Helena Ahonen-Myka.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Working with XML Schemas ©NIITeXtensible Markup Language/Lesson 3/Slide 1 of 36 Objectives In this lesson, you will learn to: * Declare attributes in an.
® Foundations of XBRL: Organisation and Concepts Walter Hamscher Vice Chair, XBRL International Consultant to.
1 Compound Documents: Combining XML Vocabularies.
XML Schema Definition (XSD). Definition of a Schema It is a model for describing the structure and content of data The XML Schema was developed as a content.
Tutorial 2: XML Working with Namespaces. 2 Name Collision This figure shows two documents each with a Name element.
XML Validation II Advanced DTDs + Schemas Robin Burke ECT 360.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
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:
SEMI-STRUCTURED DATA (XML) 1. SEMI-STRUCTURED DATA ER, Relational, ODL data models are all based on schema Structure of data is rigid and known is advance.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
Advanced Accounting Information Systems Day 34 XBRL Instance Documents and Taxonomies November 13, 2009.
ACG 6415 XBRL Instance Documents. XBRL Facts  Information Report  By a Specific Entity  Specific Period of Time  Specific Currency.
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.
Web Services: Principles & Technology Slide 3.1 Chapter 3 Brief Overview of XML COMP 4302/6302.
Advanced Accounting Information Systems Day 28 Introduction to XBRL October 30, 2009.
ACG 4401 XML Schemas XML Namespaces XLink.
ACG 4401 XML Schemas XML Namespaces XLink.
CWA3 Standardized roll-out package Part 2: XBRL Handbook for Declarers
Namespace Review 21-Nov-18.
XML Data DTDs, IDs & IDREFs.
Namespace Review 29-Dec-18.
Namespace Review 14-Oct-19.
Unit 6 - XML Transformations
New Perspectives on XML
Presentation transcript:

Skip 2007 Current Issues in MIS The XML Language Foundation f - Clinton E. White, Jr Professor of Accounting & MIS Lerner College of B&E University of Delaware

Skip 2007 Current Issues in MIS The XML Foundation Many participants – an extended family! Many participants – an extended family! – XML documents – carry data in context Each must be parsed into its component parts Each must be parsed into its component parts – XML schemas – define the rules a class of documents must follow Can be used to validate documents & contents Can be used to validate documents & contents – XSLT – provide processing instructions Can be used to process XML documents Can be used to process XML documents – Namespaces – qualify elements & attributes Differentiate & associate them with a URI Differentiate & associate them with a URI – XPath … XLink … XQuery … XML Processors are not designed equally! XML Processors are not designed equally!

Skip 2007 Current Issues in MIS Simple Elements Simple XML elements can contain only data values Simple XML elements can contain only data values – In an XML document: Basketball Basketball – In an XML schema:

Skip 2007 Current Issues in MIS Complex Elements Complex XML elements contain other elements nested within them and/or contain attributes Complex XML elements contain other elements nested within them and/or contain attributes – In an XML document Basketball Basketball

Skip 2007 Current Issues in MIS Complex Elements In an XML schema: In an XML schema: <xs:element name="InventoryItem" minOccurs="1" <xs:element name="InventoryItem" minOccurs="1" maxOccurs="unbounded"> maxOccurs="unbounded">

Skip 2007 Current Issues in MIS Simple Element with an Attribute (complex element) A simple element with an attribute is a complex element (but with simple content) A simple element with an attribute is a complex element (but with simple content) – In an XML document Regulation NBA Regulation NBA – In an XML schema

Skip 2007 Current Issues in MIS

Skip 2007 Current Issues in MIS Validation Validated & ready for further processing Validated & ready for further processing XML Document XML schema document Validating XML Processor Validated XML Document

Skip 2007 Current Issues in MIS XML Namespaces (xmlns) XML Namespaces: XML Namespaces: – A collection of elements and attributes for a particular purpose Each XML namespace has a unique URI Each XML namespace has a unique URI Each namespace is declared using “xmlns” Each namespace is declared using “xmlns” – xmlns:xs=" – xmlns:us-gaap-ci =" ci/ /us-gaap-ci%20Summary%20Page.htm“ Each namespace has its own recommended prefix Each namespace has its own recommended prefix

Skip 2007 Current Issues in MIS Namespaces Namespaces solve the naming collision problem! Namespaces solve the naming collision problem! – What if within your company, you have an accounting department & a shipping department and they each want to use the XML element name “status” to mean things uniquely relevant to them? In accounting, status is used to mean billed or not! In accounting, status is used to mean billed or not! In shipping, status is used to mean shipped or not! In shipping, status is used to mean shipped or not!

Skip 2007 Current Issues in MIS Namespaces The solution The solution – Create a separate namespace for each department & within each namespace, define the element name “status” Accounting’s namespace: Accounting’s namespace: – xmlns:acct=“myCompany.com/xml/accounting” Shipping’s namespace: Shipping’s namespace: – xmlns:ship=“myCompany.com/xml/shipping”

Skip 2007 Current Issues in MIS Namespaces Within the myCompany.com/xml/accounting namespace Within the myCompany.com/xml/accounting namespace Within the myCompany.com/xml/shipping namespace Within the myCompany.com/xml/shipping namespace

Skip 2007 Current Issues in MIS Sales Order Status Report <SalesOrderStatus <SalesOrderStatus xmlns:ship=" xmlns:ship=" xmlns:acct=" xmlns:acct=" shipped shipped not billed not billed

Skip 2007 Current Issues in MIS XLink XLink – the XML linking language XLink – the XML linking language – An “attribute” language to be used in XML documents to define explicit relationships between resources – XLink attributes can be used on any XML element – XLink attributes are used to describe both “simple” and “extended” relationships

Skip 2007 Current Issues in MIS A Simple Link What if you wanted to define a link between an InventoryItem and an approved list of vendors? What if you wanted to define a link between an InventoryItem and an approved list of vendors? – – – A “simple” XLink creates a unidirectional link between an element and the document (resource) found at the referenced URI

Skip 2007 Current Issues in MIS An Extended Link What if you wanted to create a report to be used to reconcile a PO, receiving report, and voucher from a vendor? What if you wanted to create a report to be used to reconcile a PO, receiving report, and voucher from a vendor? – – – <PurchaseOrder id=“12345” xlink:type=“locator” – xlink:href= “ – <ReceivingReport id=“34567” xlink:type=“locator” – xlink:href= “ – <Voucher id=“456789” xlink:type=“locator” – xlink:href= “ – – – Extended links are used to create more complex relationships between resources As in financial statements! As in financial statements!

Skip 2007 Current Issues in MIS XBRL XLink is used in the XBRL vocabulary to create “linkbases” XLink is used in the XBRL vocabulary to create “linkbases” – XBRL linkbases are databases of extended links to define accounting concepts and their relationships How is “current assets” calculated? How is “current assets” calculated? How is it presented on a balance sheet? How is it presented on a balance sheet? What official references apply? What official references apply?

Skip 2007 Current Issues in MIS Assignment Assignment due: 10/4/2007 Assignment due: 10/4/2007 – Exercise 3-1