Skip Headers
Oracle® Objects for OLE Developer's Guide
11g Release 2 (11.2) for Microsoft Windows

Part Number E17727-03
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
PDF · Mobi · ePub

GetXMLToFile Method

Applies To

OraDynaset Object


Generates an XML document and writes it to a file.


oradynaset.GetXMLToFile (filename, startrow, maxrows) 


The arguments for the method are:

Arguments Description
filename The file name that the XML is written to. Existing files by the same name are overwritten.
startrow The row identifier indicating from which row to start (see OraDynaset.RowPosition). The default value of this argument is 0 (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.


There is no return value.

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