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_XMLQUERY, 21 of 29


setDataHeader Procedure

This procedure sets the XML data header. The data header is an XML entity that is appended at the beginning of the query-generated XML entity (that is, rowset). The two entities are enclosed by the tag specified via the docTag argument. Note that the last data header specified is the one that is used; furthermore, passing in NULL for the header parameter unsets the data header.

Syntax

DBMS_XMLQUERY.setDataHeader (

ctxHdl  IN ctxType, 
header  IN CLOB := null, 
tag  IN VARCHAR2 := null);

Parameters

Table 72-21 shows the parameters of the setDataHeader procedure.

Table 72-21 setDataHeader Procedure Parameters
Parameter  Description 

ctzHdl (IN) 

The context handle. 

header (IN) 

The header. 

tag (IN) 

The tag used to enclose the data header and the rowset. 


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