Presentation is loading. Please wait.

Presentation is loading. Please wait.

I Copyright © 2004, Oracle. All rights reserved. Introduction.

Similar presentations


Presentation on theme: "I Copyright © 2004, Oracle. All rights reserved. Introduction."— Presentation transcript:

1 I Copyright © 2004, Oracle. All rights reserved. Introduction

2 I-2 Copyright © 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Discuss the goals of the course and the agenda Define XML and standards covered in this course List Oracle product support for XML Describe the course environment and data Use JDeveloper to create, open, and edit an XML document View an XML document in a browser

3 I-3 Copyright © 2004, Oracle. All rights reserved. Course Objectives After completing this course, you should be able to do the following: Create XML documents Validate XML documents by using standard XML techniques Transform XML documents by using stylesheets and XPath expressions Store and query XML in an Oracle database Generate XML from an Oracle database Use Oracle XDK tools and utilities

4 I-4 Copyright © 2004, Oracle. All rights reserved. Course Agenda Lessons that are to be covered on Day 1: 1.Introducing the XML Document 2.Validating XML with Document Type Definitions (DTD) 3.Modularizing XML with Namespaces 4.Validating XML by Using XML Schema 5.Navigating XML Documents by Using XPath

5 I-5 Copyright © 2004, Oracle. All rights reserved. Course Agenda Lessons that are to be covered on Day 2: 6.Transforming XML by Using XSL Transformations (XSLT) 7.XSQL Pages Publishing Framework 8.Additional Features in XSQL Pages 9.Introducing Oracle XML DB (XML DB) 10.Generating XML from an Oracle Database 10g

6 I-6 Copyright © 2004, Oracle. All rights reserved. Course Agenda Lessons that are to be covered on Day 3: 11.Managing XML Data in an Oracle Database 10g 12.Creating XMLType Views 13.Executing SQL Operations on XML 14.Accessing XML Through URIs

7 I-7 Copyright © 2004, Oracle. All rights reserved. Extensible Markup Language Extensible Markup Language (XML) describes data objects called XML documents that are composed of markup and data. Markup and data Custom tags XML document Web data XML processors

8 I-8 Copyright © 2004, Oracle. All rights reserved. Advantages of Using XML XML enables: A simple and extensible way to describe data The ability to interchange data Simplified business-to-business communication Writing of smart agents The ability to perform smart searches A sample XML document: Building Oracle XML Applications Oracle XML Handbook Beginning XML Second Edition

9 I-9 Copyright © 2004, Oracle. All rights reserved. XML Standards Document type definition XML language Defines and validates XML namespace Uniquely identifies elements XML schema Defines and validates XPath Locates nodes XSL/XSLT stylesheet AppliesTransformed to Output document Processed by XML processor (DOM and SAX API) Used by 1 2 3 5 4 6 /Catalog/Item http://www.hr.com/catalog

10 I-10 Copyright © 2004, Oracle. All rights reserved. Document Object Model Document Object Model (DOM): Defines programming interfaces for accessing and changing an XML document as a tree structure Is defined by a W3C recommendation DOM API: Is platform- and language-independent Stores an entire XML document tree in memory Can dynamically access and update the content, structure, and style of documents Level 2 provides specialized interfaces dedicated to XML

11 I-11 Copyright © 2004, Oracle. All rights reserved. Simple API for XML Simple API for XML (SAX): Is an event-based API for reading XML documents Reads a document as a serialized (ordered) event stream of data Uses events to notify programs when it detects document objects, such as start and end tags Does not store the document in memory and does not support random-access manipulation Is a good choice for processing very large documents Is developed independently of W3C

12 I-12 Copyright © 2004, Oracle. All rights reserved. Oracle XML Support Oracle products provide support for XML in: Development tools Middle-tier frameworks Database storage Oracle XDK 10g Includes the Oracle XML Database (XDB)

13 I-13 Copyright © 2004, Oracle. All rights reserved. XML in Oracle JDeveloper 10g Oracle JDeveloper 10g is a development tool that: Is used for: –Building Java, XML, and PL/SQL applications –Debugging the applications –Deploying Internet-enabled applications Includes Oracle Application Development Framework (ADF) Enables seamless Java, XML, and SQL development of: –Java for distributed code –XML for portable data –SQL for querying

14 I-14 Copyright © 2004, Oracle. All rights reserved. Building XML Applications with Oracle Technology An XML application is an application process that operates on XML data, either stored in or generated from some data source. Oracle XML applications can be built in one of the following ways: –Nonprogrammatically –Programmatically Client Application server Database XML application

15 I-15 Copyright © 2004, Oracle. All rights reserved. Course Environment and Data Browser i SQL*Plus and SQL*Plus Oracle XDK utilities Oracle XDK XSQL servlet HR Schema Oracle XML/DB DBUri servlet ClientMiddle tierDatabase

16 I-16 Copyright © 2004, Oracle. All rights reserved. Creating a Workspace and Project in JDeveloper 1 2 3 4

17 I-17 Copyright © 2004, Oracle. All rights reserved. Creating an XML Document in JDeveloper 1 2 3 4

18 I-18 Copyright © 2004, Oracle. All rights reserved. Adding an XML Document to a Project 1 2

19 I-19 Copyright © 2004, Oracle. All rights reserved. Viewing an XML Document in a Browser 1 2 Use a JDeveloper External Tool Use Windows Explorer Double-click

20 I-20 Copyright © 2004, Oracle. All rights reserved. Summary In this lesson, you should have learned how to: Describe XML Explain the XML standards covered in this course Describe the Oracle tools that support XML Use JDeveloper to: –Create a workspace and project for XML documents –Create XML documents in a project –Add existing XML documents to a project –View an XML document with a browser or by using an external tool added to the JDeveloper Tools menu

21 I-21 Copyright © 2004, Oracle. All rights reserved. Practice I: Overview This practice covers the following topics: Opening the course application workspace and project with JDeveloper Creating a basic XML document using JDeveloper Opening an existing XML document in JDeveloper Viewing XML documents in Internet Explorer

22 I-22 Copyright © 2004, Oracle. All rights reserved.


Download ppt "I Copyright © 2004, Oracle. All rights reserved. Introduction."

Similar presentations


Ads by Google