XML – Its Role and Use Ben Forta Senior Product Evangelist, Macromedia.

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

XML III. Learning Objectives Formatting XML Documents: Overview Using Cascading Style Sheets to format XML documents Using XSL to format XML documents.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
XML: Extensible Markup Language
1 XSLT – eXtensible Stylesheet Language Transformations Modified Slides from Dr. Sagiv.
XSL XSLT and XPath 11-Apr-17.
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
Leveraging XML with ColdFusion Jeff Tapper June 2004.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
XSL Concepts Lecture 7. XML Display Options What can XSL Transformations do? generation of constant text suppression of content moving text (e.g., exchanging.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
COS 381 Day 16. Agenda Assignment 4 posted Due April 1 There was no resubmits of Assignment Capstone Progress report Due March 24 Today we will discuss.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
4/20/2017.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Sheet 1XML Technology in E-Commerce 2001Lecture 6 XML Technology in E-Commerce Lecture 6 XPointer, XSLT.
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
XML for E-commerce III Helena Ahonen-Myka. In this part... n Transforming XML n Traversing XML n Web publishing frameworks.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
XSLT for Data Manipulation By: April Fleming. What We Will Cover The What, Why, When, and How of XSLT What tools you will need to get started A sample.
ColdFusion’s XML Capabilities Maryland CFUG April 12, 2005 Presented by Doug Ward.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
Introduction to XSLT By Ed Rosenthal And Dave Pion.
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.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
WORKING WITH XSLT AND XPATH
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.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Sheet 1XML Technology in E-Commerce 2001Lecture 7 XML Technology in E-Commerce Lecture 7 XSL Formatting Objects, Java Data Binding.
Peoplesoft XML Publisher Integration with PeopleTools -Jayalakshmi S.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Utilizing XML in ColdFusion MX by Attila Domokos.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Applying eXtensible Style Sheets (XSL) Ellen Pearlman Eileen Mullin Programming.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
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.
CHAPTER 15 WPF Windows Presentation Foundation Dr. John Abraham Professor, UTPA.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
XML A Language Presentation. Outline 1. Introduction 2. XML 2.1 Background 2.2 Structure 2.3 Advantages 3. Related Technologies 3.1 DTD 3.2 Schemas and.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
COP 3813 Intro to Internet Computing Prof. Roy Levow XML.
Dom and XSLT Dom – document object model DOM – collection of nodes in a tree.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
Structured Documents - XML and FrameMaker 7 Asit Pant.
University of Nottingham School of Computer Science & Information Technology Introduction to XML 2. XSLT Tim Brailsford.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
XML Tools (Chapter 4 of XML Book). What tools are needed for a complete XML application? n Fundamental components n Web infrasructure n XML development.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
Connecting to External Data. Financial data can be obtained from a number of different data sources.
XML Schema – XSLT Week 8 Web site:
XSLT, XML Schema, and XPath Matt McClelland. Introduction XML Schema ▫Defines the content and structure of XML data. XSLT ▫Used to transform XML documents.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
Apache Cocoon – XML Publishing Framework 데이터베이스 연구실 박사 1 학기 이 세영.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
Coding With XML Andrew Schwabe
XML: Extensible Markup Language
Unit 4 Representing Web Data: XML
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 7 Representing Web Data: XML
Unit 6 - XML Transformations
Presentation transcript:

XML – Its Role and Use Ben Forta Senior Product Evangelist, Macromedia

Agenda  The Problem  Introducing XML  Working with XML  ColdFusion MX and XML  Web Services

The Problem

An Example  Organization A works with a supplier (organization B)  Organization A does not have access to organization B's IT systems

The Problem  All interaction between the two organizations is manual  Order submission  Status checking  Payment  Reporting

The Need  The two organizations need to share information, despite differing environments and incompatible applications

Introducing XML

What XML Is Not  XML is not a way to format page layout (as is HTML)  XML is not a presentation language

What Is XML  XML is less a “language” per se, and more a way to describe data  XML data is described using “vocabularies”

Understanding XML  XML serves two primary purposes:  Provides a framework to separate data from presentation and layout  Provides a syntax that allows applications to share data  XML defines common information formats across nearly every major computing endeavor

Example - The Challenge  An organization relies on multiple suppliers, each of whom uses a different computer system and thus a different way to describe parts  The challenge is to retrieve real time status information from multiple sources so as to be able to present it in a consistent format

Example - The Solution  An XML format (a “vocabulary”) is agreed upon ahead of time, by the suppliers  Each supplier publishes data in the agreed upon format  The client retrieves the standardized data as needed

Example - Sample Data  Sample XML vocabulary 123 A24680 Shipped UPS...

Working With XML

XML Terminology  DTD – data definition document describing the XML data (sometimes called a schema)  DOM – document object model, a hierarchical view of XML content  Node – an item in the DOM, nodes are made up of a type, a name, and a value  Root – top level element in a document  Element – the actual content

Displaying XML Data  XML is NOT a page layout language  XML describes data  XML data can be displayed in any client technology, including HTML, Flash, Java, JavaScript, ActiveX

Working with XML  Working with XML requires tools that can manipulate structured XML data  Read values  Walk trees  Search for and extract specific elements  Set values and build trees

Applying Transformations  XSL is a template language that is used to provide display rules for XML data  XML is data, XSL is a set if display rules  XSL is applied to XML generating a transformation (the actual output)

ColdFusion MX and XML

 ColdFusion provides build in support for:  Reading XML data  Writing XML content  Applying XSL transformation  Performing XPath searches

XML In ColdFusion  Within ColdFusion, XML documents are accessed as objects  An XML object in ColdFusion is a structure, and can be access as such  Objects are created using:   XMLNew()  XMLParse()

Reading XML Data  XMLParse() converts an xml document into an XML object  #root.order_status.status#

Writing XML Content  or XMLNew() creates XML objects that may be populated as needed #ordnum# #status#

Applying XSL Transformations  XSL transformation are applied using XMLTransform()  #XMLTransform(xmlfeed, xsldoc)#

Performing XPath Searches  XPath is a search language used to find and extract values from an XML document  XPath uses search patterns to specify search criteria 

Web Services

Why Web Services?  XML is data and facilitates data sharing  Web Services are distributed applications built on top of XML (and SOAP)  Where XML formats data for sharing, SOAP facilitates that sharing

Access to Web Services  provides access to any Web Services #name_french#

Publishing Web Services  Any ColdFusion components can be made accessible as a Web service by simply defining the ACCESS in the component method ACCESS="remote"  ColdFusion Components and methods may be secured using:  User roles  Access levels

Summary  XML is data sharing  ColdFusion MX makes XML usable  Web Services facilitate distributed XML data sharing

Q&A