

PASSING OBJECT_VALUE AS "p" RETURNING CONTENT) WHERE XMLCast(XMLQuery('$p/PurchaseOrder/Reference' CREATE OR REPLACE FUNCTION getPurchaseOrder(reference VARCHAR2) The Java DOM API for XMLType is implemented using Java package 2.Įxample 13-4 Returning XMLType Data Using an Output Parameter public void doCall (String args) throws Exception To access XMLType data using JDBC, use the class. The repository can contain both XML schema-based and non-schema-based documents. Naming conforms to the Java binding for DOM as specified by the W3C DOM Recommendation.

You can use the Java DOM API for XMLType to access XML documents stored in Oracle XML DB Repository from Java applications. The Java DOM API for XMLType can be used to construct an XMLType instance from data encoded in different character sets. The Java DOM API works on both client and server. It presents a uniform view of an XML document, whether it is XML Schema-based or non-schema-based and whatever the underlying XMLType storage model. The Java DOM API for XMLType handles all well-formed XML documents stored in Oracle XML DB. As discussed in PL/SQL APIs for XMLType, the Oracle XML DB DOM APIs are compliant with the W3C DOM Level 1.0 and Level 2.0 Core Recommendation. The DOM object and interface are part of a W3C recommendation. This is a generic API for client and server, for both XML Schema-based and non-schema-based documents.ĭOM is a tree-based object representation of XML documents in dynamic memory that enables programmatic access to their elements and attributes. Oracle XML DB supports the Java Document Object Model (DOM) Application Program Interface (API) for XMLType.
