XML Extensible Markup Language. Markup Languages u What does this number (100) mean? –Actually, it’s just a string of characters! –A markup language can.

Slides:



Advertisements
Similar presentations
XML: Extensible Markup Language
Advertisements

XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
1 XSLT – eXtensible Stylesheet Language Transformations Modified Slides from Dr. Sagiv.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
EDI & POS Systems ATG Spring When to adopt technology? “Things have to change to remain the same” What do we want to accomplish? –Lower costs.
XML Unit 6 October 31. XML, review XML is used to markup data Used to describe information Uses tags like HTML –But all tags are user-defined –Must be.
3 November 2008CIS 340 # 1 Topics To define XML as a technology To place XML in the context of system architectures.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
1 CA201 Word Application Creating Document for the Web Week # 9 By Tariq Ibn Aziz Dammam Community college.
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Microsoft Office XP Illustrated Introductory, Enhanced Office Applications with Internet Explorer Integrating.
Developing a Basic Web Page with HTML
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
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.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
XML – Extensible Markup Language XML eXtensible – add to language. Markup – delimit info using tags. Language – a way to express info.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
XML. Markup Languages u What does this number (100) mean? –Actually, it’s just a string of characters! –A markup language can be used to distinguish this.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel
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.
WORKING WITH XSLT AND XPATH
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
OBJECTIVES  What is HTML  What tools are needed  Creating a Web drive on campus (done only once)  HTML file layout  Some HTML tags  Creating and.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Introduction to XML Extensible Markup Language. What is XML XML stands for eXtensible Markup Language. A markup language is used to provide information.
Tutorial 1: XML Creating an XML Document. 2 Introducing XML XML stands for Extensible Markup Language. A markup language specifies the structure and content.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
HTML Concepts and Techniques Fourth Edition Project 12 Creating and Using XML Documents.
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.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
XML:Managing data exchange. 2 Central problems of data management Capture Storage Retrieval Exchange.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
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.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
XML Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
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.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
1 D O C U M E N T A T I O N & I N F O R M A T I O N S E R V I C E S 1 Improved Dissemination of NMMSS Products and Reports NMMSS Software Engineer 5/20/2009.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
XP 1Creating Web Pages with XML Tutorial 1 New Perspectives on XML Tutorial 1 – Creating an XML Document.
XML Extensible Markup Language
Connecting to External Data. Financial data can be obtained from a number of different data sources.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Advanced Accounting Information Systems Day 28 Introduction to XBRL October 30, 2009.
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.
Introduction to HTML.
XML: Extensible Markup Language
Project 1 Introduction to HTML.
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
Creating an XML Document
Extensible Markup Language
Extensible Markup Language
What is HTML?.
Presentation transcript:

XML Extensible Markup Language

Markup Languages u What does this number (100) mean? –Actually, it’s just a string of characters! –A markup language can be used to distinguish this string of characters from other strings and to add some meaning to it v A markup language is simply a computer language of codes and tags (a.k.a. containers) v 100

Markup for Web Pages u The standard markup language used to create Web pages is HTML –HTML (HyperText Markup Language) v A fixed set of tags (elements … containers) that tell a Web browser how to display a document containing text and data v Contains your document’s title v Contains your document’s information v For centering things v For large text v

HTML (continued) u u My Web document u u My professor’s weight is 100 u HTML is used to display documents with a web browser, but HTML cannot be used by other applications because it does not add any INFORMATION about the data being transmitted.

XML: eXtensible Markup Language u Extensible: that which can be extended, it is flexible, and can be added to. u XML adds meaning or context to the data that is being transmitted. – 100 u Because XML can be used to describe data, businesses are beginning to adopt it as the “new” standard for EDI (Electronic Data Interchange). XML is directly usable over the Internet and it can be used to store, deliver, and exchange information over and between networks.

How Would You Describe u A person –Last Name –First Name –Age –Gender –Hair Color –Weight –Height –Birthdate –College Major u A building at KSU –Name –Location –When Built –Architect –Primary College Using the Building u A university in the Big 12 –Name –City –State –Mascot –Abbreviation –Color (primary school color)

(an XML instance document) u – v Kansas State University v Manhattan v Kansas v Wildcat v KSU v Purple – v University of Kansas v Lawrence v Kansas v Jayhawk v KU v Blue – u

Instance Document A tree hierarchy that describes the overall data content SelectedBig12Universities University NameCityStateMascot AbbreviationColor NameCityStateMascot Abbreviation Color NameCityStateMascot Abbreviation Color Root element: Selected Big 12 Universities Mid-level elements: individual universities Individual data content

Core XML Technologies u The XML Instance document –Stores data in a hierarchical format –XML Instance documents are the heart of XML. u XML Schemas –Defines the structure of a valid XML instance document and the types of values that elements may hold. –XML Schemas are used to validate the XML instance documents. Someone who has your schema knows what the information that you will be sending them or exchanging with them will look like. u XSL (the extensible Stylesheet Language) –Describes how the XML data should be displayed –Used to convert an XML instance document from one format to another. Some of the formatting can be undertaken using HTML.

An XML Instance Document u – v Kansas State University v Manhattan v Kansas v Wildcat v KSU v Purple – v University of Kansas v Lawrence v Kansas v Jayhawk v KU v Blue – u Follows a hierarchical format that you can expand or collapse Link

Inventory Schema u A description of the rules that “valid” XML instance documents must follow. u Applications that understand a schema know what to expect and can process any associated, valid documents. Schemas define the content, organization, and structure of valid instance documents.

Schema in e-business u If you are an e-business and you want to share and automatically process xml documents with your business partners, you will need schemas to define the rules that your instance documents follow and the rules that your partners’ documents follow. You will share your schemas with your business partners so that all of you can accurately process each others’ XML documents. u XBRL (eXtensible Business Reporting Language) is a specific XML schema that describes the elements/data in financial statements.

Schema in e-business u Accounting firms and government agencies are working on schemas used to distribute financial reports. u Schemas are being developed to facilitate the transfer of financial information between banks, businesses, and customers. u e-Businesses are developing schemas to transfer business transaction information via the Internet. u The IRS is developing schemas for tax reporting and electronic filing. u XBRL (eXtensible Business Reporting Language) is a specific XML schema that describes the elements/data in financial statements.

Language of Love for Mutual Funds XBRL (eXtensible Business Reporting Language) XBRL is one of the XML schemas (a specific set of rules that documents of a certain type must follow) If your organization is required to report data to a regulatory body, they will dictate the rules that you have to follow when doing your reporting. That is where schemas come into play. If data has been “tagged” using XML/XBRL, then it is very easy to pull relevant data from long reports/filings, and then be able to analyze and compare data across many different sources. –After some sort of computer program is created, with the click of a mouse, an XML processor can retrieve tagged data from whatever data repository it is in

Used to format instance documents The XSL Stylesheet

XSL Stylesheet Item Cost QOH TOTAL 5 row, 4 column table with multiple cells

Well-Formed XML Instance Documents u Well-formed XML documents can be processed by an XML processor. –Internet Explorer can serve as an XML processor. –XML is also a feature built into Microsoft Office (beginning with XP) u A well-formed XML document obeys all of the XML syntax rules. –There is one and only one root element. –Tags must balance – every opening tag must have a closing tag. –XML is case sensitive – upper and lowercase characters are different. –Opening and closing tags must be the same, except the closing tag starts with a slash (/). WF NWF

XML Summary Extensible Markup Language u HTML was designed to display data and to focus on how data looks. u XML was designed to describe data and to focus on what data is. u XML Technologies –Instance documents hold data. –Schemas define valid documents (what they look like and what they must contain) –Stylesheets describe how to format the data. u XML is the new foundation/standard for exchanging business documents electronically.

u Instance Documents A tree hierarchy: – Parents … children … “leaf” nodes inventory item nameidcolorqoh weightcosttype nameidcolorqoh weightcosttype nameidcolorqoh weightcosttype One root element: inventory Mid-level elements: individual items Individual data content

The End

XML Extensible Markup Language

XML: Extensible Markup Language u HTML was designed to display data and to focus on how data looks. u XML was designed to describe data and to focus on what data is. –Extensible: that which can be extended, it is flexible, and can be added to. –XML adds meaning or context to the data that is being transmitted. v 100 HTML is used to display documents with a web browser, but HTML cannot be used by other applications because it does not add any INFORMATION about the data being transmitted.

Core XML Technologies u The XML Instance document –Stores data in a hierarchical format –XML Instance documents are the heart of XML. u XML Schemas –Defines the structure of a valid XML instance document and the types of values that elements may hold. –XML Schemas are used to validate the XML instance documents. Someone who has your schema knows what the information that you will be sending them or exchanging with them will look like. u XSL (the extensible Stylesheet Language) –Describes how the XML data should be displayed –Used to convert an XML instance document from one format to another. Some of the formatting can be undertaken using HTML.

Example of Instance Document Coding

u Instance Documents A tree hierarchy: – Parents … children … “leaf” nodes inventory item nameidcolorqoh weightcosttype nameidcolorqoh weightcosttype nameidcolorqoh weightcosttype One root element: inventory Mid-level elements: individual items Individual data content

Inventory Schema u A description of the rules that “valid” XML instance documents must follow. u Applications that understand a schema know what to expect and can process any associated, valid documents. Schemas define the content, organization, and structure of valid instance documents.

Used to format instance documents The XSL Stylesheet Instance document with stylesheet call

XML Summary Extensible Markup Language u HTML was designed to display data and to focus on how data looks. u XML was designed to describe data and to focus on what data is. u XML Technologies –Instance documents hold data. –Schemas define valid documents (what they look like and what they must contain) –Stylesheets describe how to format the data. u XML is the new foundation/standard for exchanging business documents electronically.

Extra Slides

How Would You Describe u A person –Last Name –First Name –Age –Gender –Hair Color –Weight –Height –Birthdate –College Major u A building at KSU –Name –Location –When Built –Architect –Primary College Using the Building u A university in the Big 12 –Name –City –State –Mascot –Abbreviation –Color (primary school color)

XML in e-business u If you owned an e-business, how would you describe your inventory items? –Name – a name for an item –Description – a brief description of an item –Color –Weight –QOH (Quantity on Hand) –ID Number –Cost –Retail Price –Type u It really depends on what is important for your particular business & operations!

Language of Love for Mutual Funds XBRL (eXtensible Business Reporting Language) XBRL is one of the XML schemas (a specific set of rules that documents of a certain type must follow) If your organization is required to report data to a regulatory body, they will dictate the rules that you have to follow when doing your reporting. That is where schemas come into play. If data has been “tagged” using XML/XBRL, then it is very easy to pull relevant data from long reports/filings, and then be able to analyze and compare data across many different sources. –After some sort of computer program is created, with the click of a mouse, an XML processor can retrieve tagged data from whatever data repository it is in