Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.

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
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
An Introduction to XML Based on the W3C XML Recommendations.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
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.
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang,
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
Introduction to XML ISYS 573. HTML vs XML HTML is a language specifically designed for displaying information in browser. It doesn’t carry information.
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.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
ECA 228 Internet/Intranet Design I Intro to XSL. ECA 228 Internet/Intranet Design I XSL basics W3C standards for stylesheets – CSS – XSL: Extensible Markup.
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.
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
XML – Extensible Markup Language XML eXtensible – add to language. Markup – delimit info using tags. Language – a way to express info.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
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 New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
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
XML A Single Entity. xml a single entity Objectives Objectives :  understand the data model  describe the XML Document  describe the XML Schema  describe.
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.
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
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
ECA 228 Internet/Intranet Design I XSLT Example. ECA 228 Internet/Intranet Design I 2 CSS Limitations cannot modify content cannot insert additional text.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
Lecture 11 XSL Transformations (part 1: Introduction)
Softsmith Infotech XML. Softsmith Infotech XML EXtensible Markup Language XML is a markup language much like HTML Designed to carry data, not to display.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
XML EXtensible Markup Language. Agenda Introduction to XML XML Rules XML Elements XML Attributes XML Validation XML Exercises XML Namespaces XML CDATA.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
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 Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
XML Basics A brief introduction to XML in general 1XML Basics.
CHAPTER 15 WPF Windows Presentation Foundation Dr. John Abraham Professor, UTPA.
Jennifer Widom XML Data Introduction, Well-formed XML.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Dom and XSLT Dom – document object model DOM – collection of nodes in a tree.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
Unit 3 — Advanced Internet Technologies Lesson 10 — Introduction to XHTML.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
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
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.
Advanced Accounting Information Systems Day 34 XBRL Instance Documents and Taxonomies November 13, 2009.
XML Introduction to XML Extensible Markup Language.
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.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
1 Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL)
I Copyright © 2004, Oracle. All rights reserved. Introduction.
Advanced Accounting Information Systems Day 28 Introduction to XBRL October 30, 2009.
XML Databases Presented By: Pardeep MT15042 Anurag Goel MT15006.
XML: Extensible Markup Language
Unit 4 Representing Web Data: XML
Extensible Markup Language XML
Chapter 7 Representing Web Data: XML
XML Data Introduction, Well-formed XML.
More Sample XML By Sadia Anjum.
Presentation transcript:

Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009

Bina Nusantara University 2 Introduction The eXtensible Markup Language (XML) is a language used to represent data in a form that does not rely on any particular proprietary technology. XML Schema provides a way of defining and validating XML documents. eXtensible Stylesheet Language (XSL) and eXtensible Stylesheet Language Transforms (XSLT) is another useful technology associated with XML.

Bina Nusantara University 3 Introduction (cont.) This capability enables you to take a single XML document and transform it into a variety of different versions for specific uses. A number of classes within Visual Basic.NET provide methods that work directly with XML. Microsoft’s.NET initiative uses XML as its foundation data technology.

Bina Nusantara University 4 Objectives Understand what XML is and how it is used within business-to-business transactions. Understand XML Schemas and XSL Transforms and how they are used within the context of XML. Read and process data that are stored in an XML document.

Bina Nusantara University 5 Objectives (cont.) Read data from a relational database and transform them into their equivalent XML. Transform one XML document into a new XML document using an XSLT document.

Bina Nusantara University An XML Primer What is XML? –XML provides a technology-neutral way to represent data. –XML is rapidly becoming the data format “standard” for the exchange of data on the Internet. –Data content and data presentation are separate. –Data represent what is called a tree.

Bina Nusantara University An XML Primer (cont.) XML Syntax –The language is case sensitive. –There is one and only one root node. –All elements have a start tag and an end tag. –Tags must be nested correctly. –Attributes must be quoted. An XML document is well formed if you follow the above rules.

Bina Nusantara University An XML Primer (cont.) –Namespaces A namespace defines a point of reference. –Change the element tag by adding a prefix and a colon to the tag. –Ex. and. Can differentiate two tags within the same document. Syntax: xmlns:name = “uri” The uri (Uniform Resource Identifier) is a unique identifier.

Bina Nusantara University An XML Primer (cont.) –Document Prolog Indicates that the document is XML as well as other things such as document type, entity definitions and other processing instructions.

Bina Nusantara University An XML Primer (cont.) XML Schemas –Rules that define legal elements, tags, and content. –Used to determine the validity of a document. –Industry specific XML schemas are being developed.

Bina Nusantara University An XML Primer (cont.) Styling XML –Extensible Stylesheet Language Transforms (XSLT) provide a way to transform one XML document to another XML document.

Bina Nusantara University Creating XML Documents and XML Schemas Using Visual Basic.NET Creating an XML Schema –Add an XML Schema to a project by selecting Add New Item from the File menu. –Use tools from the Toolbox to create the schema. –Save the Schema definition.

Bina Nusantara University Creating XML Documents and XML Schemas Using Visual Basic.NET (cont.) Creating an XML Document –Complete the examples listed below in your textbook: Example 9.1 Using Simple and Complex Data Types in XML Schemas. Example 9.2 Creating Nested Relationships in an XML Schema. Example 9.3 Creating Tables with Relationships in an XML Schema. Example 9.4 Transforming XML using XSLT.

Bina Nusantara University Using ADO.NET with XML ADO.NET provides a number of useful classes and methods to work directly with XML documents. –Data are already in XML form. This section provides a number of examples that demonstrate XML capabilities of the ADO.NET framework.

Bina Nusantara University Using ADO.NET with XML (cont.) Complete the following examples listed below in your textbook: –Example 9.5 Processing an XML Document. –Example 9.6 Converting Relational DB Data into XML. –Example 9.7 Using XML and XSLT to Transform Data from a Relational Database.