Required Elements of the IB_XMLDA Structure

From InterBase
Jump to: navigation, search

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:

  1. 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() and isc_dsql_xml_fetch_all() require this name.
  2. xmlda_version should be set to 1, indicating that the parser should use the XSQLDA descriptor area, rather than the older SQLDA descriptor area.
  3. xmlda_status should be set to zero the first time isc_dsql_xml_fetch() is called. It does not have any effect in isc_dsql_fetch_all(), but it is recommended that you set it to zero. It is used internally by the XML functions to keep status.