GetXML Method

Applies to

OraDynaset Object

Description

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

Usage

 XMLstring = oradynaset.GetXML(startrow, maxrows) 

Arguments

The arguments for the method are:

Arguments Description
startrow The row identifier indicating from which row to start (see OraDynaset.RowPosition). The default value of this argument is zero (the first row).
maxrows The maximum number of rows to retrieve (if the end of the record set is reached; fewer rows may be returned). If this argument is omitted, then all rows are returned.

Remarks

This method returns a string containing the XML document.

The formatting of the output XML can be customized through the XML properties of the OraDynaset and OraField objects.