isc_dsql_xml_fetch_all()
Go Up to API Function Reference
Creates an XML-formatted file using a previously prepared and executed statement handle.
Contents
Syntax
int isc_dsql_xml_fetch(
ISC_STATUS *status_vector,
isc_stmt_handle *stmt_handle,
unsigned short da_version,
XSQLDA *xsqlda,
IB_XMLDA *ib_xmlda);
Parameter | Type | Description |
---|---|---|
|
|
Pointer to the error status vector |
|
isc_stmt_handle * |
Pointer to a statement handle previously executed with |
|
unsigned short |
Specifies that the XSQLDA descriptor, rather than SQLDA, should be used; set this value to 1. |
|
|
Pointer to an optional, previously allocated |
|
|
Pointer to an initialized XML descriptor area, |
Description
isc_dsql_xml_fetch_all()
creates an XML-formatted result set for a query. Use this function if you are interested in creating a complete XML file, but do not need to look at the data one row at a time. This function needs to be called only once (unlike isc_dsql_xml_fetch()
). If you are interested in looking at the data one row at a time, use isc_dsql_xml_fetch()
.
For a complete example of how to generate XML from an InterBase table, see Exporting XML.