PacktLib: Processing XML documents with Oracle JDeveloper 11g

Processing XML documents with Oracle JDeveloper 11g

Credits

About the Author

About the Reviewers

Preface

Creating and Parsing an XML Document

Setting the environment

Generating an XML document

Parsing an XML document with the DOM API

Parsing an XML document with the SAX API

Summary

Creating an XML Schema

An overview of XML Schema

Setting the environment

Creating an XML schema

Registering an XML schema

Creating an XML document from the XML schema

Summary

XML Schema Validation

JDeveloper built-in schema validation

Schema validation in XDK 11g

Setting the environment

Schema validation with XSDValidator

Schema validation with a SAX parser

Schema validation with a DOM parser

Summary

XPath

What is XPath?

XPath support in Oracle XDK 11g

Setting the environment

XPath search

Selecting nodes with XPath API

Summary

Transforming XML with XSLT

What we will cover in this chapter

Setting the environment for XSLT transformation

Transforming an XML document

XSLT extension functions

Summary

JSTL XML Tag Library

Overview of the JSTL XML tag library

Setting the environment

Parsing with the JSTL XML tag library

Transforming with the JSTL XML tag library

Summary

Loading and Saving XML with DOM 3.0 LS

Background

The API

Setting the environment

Loading an XML document

Saving an XML document

Filtering an XML document

Summary

Validating an XML Document with DOM 3 Validation

Setting the environment

Constructing and validating an XML document

Summary

JAXB 2.0

Setting the environment

Compiling an XML schema

Marshalling an XML document

Unmarshalling an XML document

Mapping Java to XML using annotations

Summary

Comparing XML Documents

Setting the environment

Comparing XML documents with the XMLDiff class

Summary

Converting XML to PDF

Setting the environment

Converting XML to XSL-FO

Parsing the XML document

Converting XSL-FO to PDF

Summary

Converting XML to MS Excel

Setting the environment

Converting an XML document to an Excel spreadsheet

Converting an Excel spreadsheet to an XML document

Summary

Storing XML in Oracle Berkeley DB XML

Installing Oracle Berkeley DB XML

Using the command shell

Using the Berkeley DB XML API in JDeveloper

Summary

Oracle XML Publisher

Setting the environment

FO Processor Engine

XSL-FO Utility

PDF Document Merger

Data Engine

Summary