Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

GetXML (ODynaset) Method

Applies To

ODynaset

Description

Generates an XML document based on the contents of the dynaset.

Usage

const char * GetXML(unsigned long startrow = 0, unsigned long maxrows = 0)

const throw(OException)

Arguments
Description
startrow
The row identifier indicating which row to start from (a zero based integer index such as that passed to ODynaset.MoveTo). If rows have been deleted in this ODynaset, some row identifiers may not be valid. In this case the next valid row is used as the starting point.

maxrows
The maximum number of rows to retreive (if the end of the recordset is reached, fewer rows may be returned). The default value of zero means that all rows are returned.
Remarks

This method returns a string containing the XML document. This string is owned by ODynaset and is freed when GetXML is called again, or when ODynaset is destroyed.

The formatting of the output XML may be customized through use of the XML attributes of OField and ODynaset.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

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

Master Index

Feedback