Table of Contents
- List of Examples
- List of Figures
- List of Tables
- Title and Copyright Information
- Preface
- Changes in This Release for Oracle XML Developer's Kit Programmer's Guide
- 1
Introduction to Oracle XML Developer's Kit
- 1.1 Overview of XDK
- 1.2 XDK Components
- 1.3 Generating XML Documents Using XDK
- 1.4 Development Tools and Frameworks for XDK
- 1.5 About Installing XDK
- Part I Oracle XML Developer's Kit for Java
- 2 Unified Java API for XML
- 3 Getting Started with Oracle XML Developer's Kit for Java
- 4
XML Parsing for Java
- 4.1
Introduction to XML Parsing for Java
- 4.1.1 Prerequisites for Parsing with Java
- 4.1.2 Standards and Specifications for XML Parsing for Java
- 4.1.3 Large Node Handling
- 4.1.4 XML Parsing in Java: Overview
- 4.1.5 DOM in XML Parsing
- 4.1.6 SDOM
- 4.1.7 SAX in the XML Parser
- 4.1.8 JAXP in the XML Parser
- 4.1.9 Namespace Support in the XML Parser
- 4.1.10 Validation in the XML Parser
- 4.1.11 Compression in the XML Parser
- 4.2 Using XML Parsing for Java: Overview
- 4.3
Parsing XML with DOM
- 4.3.1 Using the DOM API for Java
- 4.3.2 DOM Parser Architecture
- 4.3.3 Performing Basic DOM Parsing
- 4.3.4 Creating SDOM
- 4.3.5 Performing DOM Operations with Namespaces
- 4.3.6 Performing DOM Operations with Events
- 4.3.7 Performing DOM Operations with Ranges
- 4.3.8 Performing DOM Operations with TreeWalker
- 4.4 Parsing XML with SAX
- 4.5 Parsing XML with JAXP
- 4.6 Compressing and Decompressing XML
- 4.7
Tips and Techniques for Parsing XML
- 4.7.1 Extracting Node Values from a DOM Tree
- 4.7.2 Merging Documents with appendChild()
- 4.7.3 Parsing DTDs
- 4.7.4
Handling Character Sets with the XML Parser
- 4.7.4.1 Detecting the Encoding of an XML File on the Operating System
- 4.7.4.2 Preventing Distortion of XML Stored in an NCLOB Column
- 4.7.4.3 Writing an XML File in a Nondefault Encoding
- 4.7.4.4 Parsing XML Stored in Strings
- 4.7.4.5 Parsing XML Documents with Accented Characters
- 4.7.4.6 Handling Special Characters in Tag Names
- 4.1
Introduction to XML Parsing for Java
- 5 Using Binary XML with Java
- 6 Using the XSLT Processor for Java
- 7
Using the XQuery Processor for Java
- 7.1 Introduction to the XQuery Processor for Java
- 7.2 XQJ Entity Resolution
- 7.3 XQuery Output Declarations
- 7.4 Improving Application Performance and Scalability with XQuery
- 7.5 Performing Updates
- 7.6
Oracle XQuery Functions and Operators
- 7.6.1
Oracle XQuery Functions for Duration, Date, and Time
- 7.6.1.1 ora-fn:date-from-string-with-format
- 7.6.1.2 ora-fn:date-to-string-with-format
- 7.6.1.3 ora-fn:dateTime-from-string-with-format
- 7.6.1.4 ora-fn:dateTime-to-string-with-format
- 7.6.1.5 ora-fn:time-from-string-with-format
- 7.6.1.6 ora-fn:time-to-string-with-format
- 7.6.1.7 Format Argument
- 7.6.1.8 Locale Argument
- 7.6.2 Oracle XQuery Functions for Strings
- 7.6.1
Oracle XQuery Functions for Duration, Date, and Time
- 7.7 Standards and Specifications for the XQuery Processor for Java
- 8 Using XQuery API for Java to Access Oracle XML DB
- 9
Using the XML Schema Processor for Java
- 9.1 Introduction to XML Validation
- 9.2 Using the XML Schema Processor: Overview
- 9.3 Validating XML with XML Schemas
- 9.4 Tips and Techniques for Programming with XML Schemas
- 10 Using the JAXB Class Generator
- 11 Using the XML Pipeline Processor for Java
- 12
Determining XML Differences Using Java
- 12.1 Overview of XML Diffing Utilities for Java
- 12.2 User Options for the Java XML Diffing Library
- 12.3 Using Java XML Diffing Methods to Find Differences
- 12.4 Invoking diff and difftoDoc Methods in a Java Application
- 12.5 Using Java XML hash and equal Methods to Identify and Compare Inputs
- 12.6 Diff Output Schema
- 13
Using the XML SQL Utility
- 13.1 Introduction to the XML SQL Utility (XSU)
- 13.2 Using the XML SQL Utility: Overview
- 13.3
Programming with the XSU Java API
- 13.3.1 Generating a String with OracleXMLQuery
- 13.3.2 Generating a DOM Tree with OracleXMLQuery
- 13.3.3 Paginating Results with OracleXMLQuery
- 13.3.4 Generating Scrollable Result Sets
- 13.3.5 Generating XML from Cursor Objects
- 13.3.6 Inserting Rows with OracleXMLSave
- 13.3.7 Updating Rows Using OracleXMLSave
- 13.3.8 Deleting Rows using XSU
- 13.3.9 Handling XSU Java Exceptions
- 13.4
Programming with the XSU PL/SQL API
- 13.4.1 Generating XML from Simple Queries with DBMS_XMLQuery
- 13.4.2 Specifying Element Names with DBMS_XMLQuery
- 13.4.3 Paginating Results with DBMS_XMLQUERY
- 13.4.4 Setting Stylesheets in XSU
- 13.4.5 Binding Values in XSU
- 13.4.6 Inserting XML using XSU
- 13.4.7 Updating using XSU
- 13.4.8 Deleting with XSU
- 13.4.9 Handling Exceptions with XSU
- 13.4.10 Reusing the Context Handle with XSU
- 13.5 Tips and Techniques for Programming with XSU
- 14 Using the TransX Utility
- 15 Data Loading Format (DLF) Specification
- 16
Using the XSQL Pages Publishing Framework
- 16.1 Introduction to the XSQL Pages Publishing Framework
- 16.2 Using the XSQL Pages Publishing Framework: Overview
- 16.3 Generating and Transforming XML with XSQL Servlet
- 16.4 Using XSQL in Java Programs
- 16.5
XSQL Pages Tips and Techniques
- 16.5.1 XSQL Pages Limitations
- 16.5.2
Hints for Using the XSQL Servlet
- 16.5.2.1 Specifying a DTD While Transforming XSQL Output to a WML Document
- 16.5.2.2 Testing Conditions in XSQL Pages
- 16.5.2.3 Passing a Query Result to the WHERE Clause of Another Query
- 16.5.2.4 Handling Multivalued HTML Form Parameters
- 16.5.2.5 Invoking PL/SQL Wrapper Procedures to Generate XML Datagrams
- 16.5.2.6 Accessing Contents of Posted XML
- 16.5.2.7 Changing Database Connections Dynamically
- 16.5.2.8 Retrieving the Name of the Current XSQL Page
- 16.5.3 Resolving Common XSQL Connection Errors
- 16.5.4 Security Considerations for XSQL Pages
- 17
Using the XSQL Pages Publishing Framework: Advanced Topics
- 17.1 Customizing the XSQL Configuration File Name
- 17.2 Controlling How Stylesheets Are Processed
- 17.3 Working with Array-Valued Parameters
- 17.4 Setting Error Parameters on Built-In Actions
- 17.5 Including XMLType Query Results in XSQL Pages
- 17.6 Handling Posted XML Content
- 17.7 Producing PDF Output with the FOP Serializer
- 17.8
Performing XSQL Customizations
- 17.8.1 Writing Custom XSQL Action Handlers
- 17.8.2 Implementing Custom XSQL Serializers
- 17.8.3 Using a Custom XSQL Connection Manager for JDBC Data Sources
- 17.8.4 Writing Custom XSQL Connection Managers
- 17.8.5 Implementing a Custom XSQLErrorHandler
- 17.8.6 Providing a Custom XSQL Logger Implementation
- Part II Oracle XML Developer's Kit for C
- 18
Getting Started with Oracle XML Developer's Kit for C
- 18.1 Installing XDK for C Components
- 18.2 Configuring the UNIX Environment for XDK for C Components
- 18.3
Configuring the Windows Environment for XDK C Components
- 18.3.1 XDK for C Component Dependencies on Windows
- 18.3.2 Setting Up XDK for C Environment Variables on Windows
- 18.3.3 Testing the XDK for C Runtime Environment on Windows
- 18.3.4 Setting Up and Testing the XDK for C Compile-Time Environment on Windows
- 18.3.5 Using the XDK for C Components and Visual C++ in Microsoft Visual Studio
- 18.4 Overview of the Unified C API
- 18.5 Globalization Support for the XDK for C Components
- 19 Using the XSLT and XVM Processors for C
- 20
Using the XML Parser for C
- 20.1 Introduction to the XML Parser for C
- 20.2 Using the XML Parser API for C
- 20.3 Using the DOM API for C
- 20.4 Using orastream Functions
- 20.5 Using the SAX API for C
- 20.6 Using the XML Pull Parser for C
- 20.7 Using OCI and the XDK for C API
- 21 Using Binary XML with C
- 22
Using the XML Schema Processor for C
- 22.1 Oracle XML Schema Processor for C
- 22.2 Using the C XML Schema Processor Command-Line Utility
- 22.3 XML Schema Processor for C Usage Diagram
- 22.4 How to Run XML Schema for C Sample Programs
- 22.5 What Is the Streaming Validator?
- 23
Determining XML Differences Using C
- 23.1 Overview of XMLDiff in C
- 23.2
Using XmlDiff
- 23.2.1 User Options for Comparison Optimization
- 23.2.2 User Option for Hashing
- 23.2.3 How XmlDiff Looks at Input Documents
- 23.2.4 Using the XmlDiff Command-Line Utility
- 23.2.5 Sample Input Document
- 23.2.6 Sample Xdiff Instance Document
- 23.2.7 Output Model and XML Processing Instructions
- 23.2.8 Xdiff Operations
- 23.2.9 Format of Xdiff Instance Document
- 23.2.10 Xdiff Schema
- 23.2.11 Using XMLDiff in an Application
- 23.2.12 Customized Output
- 23.3 Using XmlPatch
- 23.4 Using XmlHash
- 24 Using SOAP with the Oracle XML Developer's Kit for C
- 18
Getting Started with Oracle XML Developer's Kit for C
- Part III Oracle XML Developer's Kit for C++
- 25
Getting Started with Oracle XML Developer's Kit for C++
- 25.1 Installing XDK for C++ Components
- 25.2
Configuring the UNIX Environment for XDK for C++ Components
- 25.2.1 XDK for C++ Component Dependencies on UNIX
- 25.2.2 Setting Up XDK for C++ Environment Variables on UNIX
- 25.2.3 Testing the XDK for C++ Runtime Environment on UNIX
- 25.2.4 Setting Up and Testing the XDK for C++ Compile-Time Environment on UNIX
- 25.2.5 Verifying the XDK for C++ Component Version on UNIX
- 25.3
Configuring the Windows Environment for XDK for C++ Components
- 25.3.1 XDK for C++ Component Dependencies on Windows
- 25.3.2 Setting Up XDK for C++ Environment Variables on Windows
- 25.3.3 Testing the XDK for C++ Runtime Environment on Windows
- 25.3.4 Setting Up and Testing the XDK for C++ Compile-Time Environment on Windows
- 25.3.5 Using the XDK for C++ Components with Visual C/C++
- 26 Overview of the Unified C++ Interfaces
- 27 Using the XML Parser for C++
- 28 Using the XSLT Processor for C++
- 29 Using the XML Schema Processor for C++
- 30 Using the XPath Processor for C++
- 31 Using the XML Class Generator for C++
- 25
Getting Started with Oracle XML Developer's Kit for C++
- Part IV Oracle XML Developer's Kit Reference
- 32
XSQL Pages Reference
- 32.1 XSQL Configuration File Parameters
- 32.1 <xsql:action>
- 32.2 <xsql:delete-request>
- 32.3 <xsql:dml>
- 32.4 <xsql:if-param>
- 32.5 <xsql:include-owa>
- 32.6 <xsql:include-param>
- 32.7 <xsql:include-posted-include-posted>
- 32.8 <xsql:include-request-params>
- 32.9 <xsql:include-xml>
- 32.10 <xsql:include-xsql>
- 32.11 <xsql:insert-param>
- 32.12 <xsql:insert-request>
- 32.13 <xsql:query>
- 32.14 <xsql:ref-cursor-function>
- 32.15 <xsql:set-cookie>
- 32.16 <xsql:set-page-param>
- 32.17 <xsql:set-session-param>
- 32.18 <xsql:set-stylesheet-param>
- 32.19 <xsql:update-request>
- 33 Oracle XML Developer's Kit Standards
- 32
XSQL Pages Reference
- A
XDK for Java XML Error Messages
- A.1 XML Parser Error Messages
- A.2 DOM Error Messages
- A.3 XSLT Error Messages
- A.4 XPath Error Messages
- A.5 XML Schema Validation Error Messages
- A.6 Schema Representation Constraint Error Messages
- A.7 Schema Component Constraint Error Messages
- A.8 XSQL Server Pages Error Messages
- A.9 XML Pipeline Error Messages
- A.10 JAXB Error Messages
- B XDK for Java TXU Error Messages
- C XDK for Java XSU Error Messages
- D
Oracle XML Developer's Kit JavaBeans (Deprecated)
- D.1 Introduction to XDK JavaBeans
- D.2 Using XDK JavaBeans: Overview
- D.3 Processing XML with XDK JavaBeans
- Glossary
- Index