Required Elements of the IB_XMLDA Structure
Go Up to The IB_XMLDA Structure
Before calling any of the three XML functions, you must set the following elements of the IB_XMLDA structure:
- xmlda_file_name is the name, including complete path, of the file to which the XML output should be written. Only
isc_dsql_xml_fetch()
andisc_dsql_xml_fetch_all()
require this name. - xmlda_version should be set to 1, indicating that the parser should use the
XSQLDA
descriptor area, rather than the older SQLDA descriptor area. - xmlda_status should be set to zero the first time
isc_dsql_xml_fetch()
is called. It does not have any effect inisc_dsql_fetch_all()
, but it is recommended that you set it to zero. It is used internally by the XML functions to keep status.