Oracle Database 12c: Use XML DB

Oracle Database 12c: Use XML DB

Course ID: D81148 5 Days Singapore

Oracle Database 12c: Use XML DB


This Oracle Database 12c: Use XML DB training allows you to deep dive into the key features of Oracle XML DB. Through interactive instructions and hands-on exercises, expert Oracle University instructors will teach you how to use Oracle XML DB to store, access, manipulate, validate, search, update, annotate, transform, generate, import and export XML data.

Learn To:

  • Manage XML storage in Oracle XML DB.
  • Retrieve XML data in Oracle XML DB.
  • Create and use indexes on XML data.
  • Generate and manipulate XML in Oracle XML DB.
  • Use the Oracle XML DB Repository.
  • Manage changes in an XML schema.
  • Import and export XML data.
  • Update XML content using XQuery update.
  • Search XML content using XQuery Full-Text search.

Benefits to You

Oracle provides developers and other users with XML tools, which work inside the Oracle Database. By enrolling in this course, you’ll develop the skills to use XML DB technology with SQL and PL/SQL for application development. This course covers the XML DB features and utilities available for the Oracle Database that can be used to develop SQL and PL/SQL applications.

Oracle XML DB

The focus of this hands-on training is Oracle XML DB, which includes packages supporting Oracle XML DB. You’ll learn to store, retrieve, search, generate and manipulate XML data in the Oracle Database. Expert instructors will also focus on the XQuery language, which is designed to query XML data from both XML files stored in the database and from relational databases.

Live Virtual Class Format

A Live Virtual Class (LVC) is exclusively for registered students; unregistered individuals may not view an LVC at any time. Registered students must view the class from the country listed in the registration form. Unauthorized recording, copying, or transmission of LVC content may not be made.



  • Application Developers
  • Database Administrators
  • System Analysts
  • Forms Developer
  • Technical Consultant
  • J2EE Developer
  • Business Intelligence Developer
  • PL/SQL Developer




Instructor-led / Virtual Instructor-led


  • Basic experience with SQL and PL/SQL
  • XML Fundamentals
  • Familiarity with Oracle SQL Developer
  • Familiarity with SQL*Plus
  • Familiarity with PL/SQL


  • Use XQuery Update
  • Use PL/SQL APIs for XML
  • Import and Export XML data
  • Use Full-Text Search
  • Use the Oracle XML DB Repository
  • Annotate XML Schemas
  • Generate XML Data from the Database
  • Explain the basic concepts of Oracle XML DB
  • Store XML Data in Oracle XML DB
  • Retrieve XML Data in Oracle XML DB
  • Create and use XMLIndex index
  • Manipulate XML data
  • Generate XML data
  • Create and use XMLType views
  • Manage and Modify Storage After XML Schema Registration
  • Use XQuery with Oracle XML DB


Module 1: Introduction

  • Questions About You
  • Course Objectives
  • Course Prerequisites
  • Suggested Course Agenda
  • Database Schema
  • Appendixes
  • Class Account Information
  • Course Environments

Module 2: Introduction to Oracle XML

  • What is XML?
  • Example: A Simple XML Document
  • Markup Rules for Elements
  • XML Attributes
  • Well-Formed XML Documents
  • Document Type Definitions (DTD) and XML Schemas
  • Why Validate an XML Document
  • XPath and XQuery

Module 3: Introduction to Oracle XML DB

  • Oracle XML DB
  • Oracle XML DB: Benefit
  • Oracle XML DB: Features

Module 4: Storing XML Data in Oracle XML DB

  • XMLType: Overview
  • Describe XMLType storage options
  • Create objects of XMLType
  • Declaring an XMLType
  • Insert data into XMLType
  • XMLType Storage Characteristics
  • XMLType Storage Models
  • Specifying SQL Constraints

Module 5: Using XML Schema with Oracle XML DB

  • Using XML Schema with Oracle XML DB: Overview
  • XMLType and XML Schema
  • XML Schema Management
  • Creating XML Schema-Based XMLType Tables and Columns
  • Specifying Unstructured Storage of XML Schema-Based Data
  • Managing Changes in an XML Schema

Module 6: Oracle XML DB Manageability

  • Oracle XML Schema Annotations
  • Common Uses of XML Schema Annotations
  • Annotations Methods
  • Purchase-Order XML Schema: purchaseOrder.xsd
  • Annotated Purchase-Order XML Schema: purchaseOrder.xsd
  • Annotating an XML Schema by Using DBMS_XMLSCHEMA_ANNOTATE
  • Annotation Subprogram Parameters
  • Some of the Available Oracle XML DB XML Schema Elements Annotations

Module 7: Partitioning XMLType Tables

  • Partitioning concepts
  • Ordered collection tables
  • Partitioning XMLType tables and columns stored object-relationally
  • Specifying partitioning information for an XMLType base table
  • Partition maintenance
  • Online partition redefinition for ordered collection tables
  • Partitioning Binary XML Tables

Module 8: Using XQuery to Retrieve XML Data in Oracle XML DB

  • Retrieving XML content
  • Using FLWOR expressions: review
  • XQuery support in Oracle Database
  • Querying the database: relational data
  • Querying the database: XMLType data
  • Querying XMLType data by using SQL/XML standard functions

Module 9: Querying XMLType data by using SQL/XML standard functions

  • Migrating from Oracle Functions for Updating XML Data to XQuery Update
  • XQuery Update Snapshots
  • Updating XML Data
  • Updating an Entire XML Document
  • General Syntax for an XQuery Update
  • Replacing XML Nodes (Current State)
  • Replacing XML Nodes (Updated State)
  • Updating XML Data to NULL Values Considerations

Module 10: Search XML Content Using XQuery Full-Text

  • Full-Text Search Capabilities
  • Available Documentation
  • Full-Text contains Expression
  • Indexing for XQuery Full Text
  • Requirements for Creating XQuery Full Text Index
  • Indexing for XQuery Full Text: Best Performance
  • Using XML Schema-Based Data with XQuery Full Text
  • Error ORA-18177: Using XML Schema-Based Data with XQuery Full Text

Module 11: Indexing XMLType Data

  • Indexing XMLType data
  • Using XMLIndex index
  • What is XMLIndex?
  • XMLIndex Unstructured Component
  • New: XMLIndex Structured Component
  • Guidelines

Module 12: Generating XML Data

  • Generating XML data by using XQuery
  • Generating XML data by using the SQL/XML standard functions
  • Generating XML data by using the DBMS_XMLGEN PL/SQL package

Module 13: Transforming XML Data

  • Creating XMLType views
  • Transforming XML
  • Use XQuery to transform XML

Module 14: Creating Relational Views over XML Data

  • Introduction to Creating and Using Relational Views over XML Data
  • Creating a Relational View over XML: One Row for Each XML Document
  • Creating a Relational View over XML: Mapping XML Nodes to Columns
  • Examining the View in Oracle SQL Developer
  • Indexing Binary XML Data Exposed Using a Relational View
  • Querying XML Content As Relational Data

Module 15: Accessing Resources in Oracle XML DB Repository

  • XML DB Repository: overview
  • Creating folders and resources using PL/SQL
  • Accessing resources
  • Access control lists
  • Compound documents
  • Repository events

Module 16: Using Native Oracle XML DB Web Services

  • Overview of Web Services
  • Overview of Native Oracle XML DB Web Services
  • Configuring Web Services for Oracle XML DB
  • Enabling Web Services for Oracle XML DB
  • Querying Oracle XML DB using a Web Service
  • Accessing PL/SQL Stored Procedures using a Web Service

Module 17: Exporting and Importing XML Data

  • SQL*Loader
  • Loading XMLType data
  • Oracle Data Pump

What’s Next

  • Using Java – for PL/SQL and Database Developers
  • Oracle Database: SQL Tuning for Developers
  • Oracle Database 12c: Introduction for Experienced SQL Users
  • Oracle Database 12c: Analytic SQL for Data Warehousing

Subscribe to our mailing list for special offers and promotions.

Thank you! Your subscription has been confirmed. You'll hear from us soon.