Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_XMLGEN, 6 of 13


getXML Function

This function generates the XML document and returns it as a CLOB.

Syntax

DBMS_XMLGEN.getXML (

ctx  IN ctxHandle,
dtdOrSchema  IN number := NONE)
RETURN clob;

Parameters

Table 71-6 shows the parameters for the getXML function.

Table 71-6 getXML Function Parameters
Parameter  Description 

ctx (IN) 

The context handle obtained from the newContext call. 

dtdOrSchema (IN) 

The Boolean to indicate generation of either a DTD or a schema. 

Returns

A temporary CLOB containing the document.

Usage Notes

You must free the temporary CLOB obtained from this function using the DBMS_LOB.FREETEMPORARY call.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback