Optional Elements of the IB_XMLDA Structure
Go Up to The IB_XMLDA Structure
- xmlda_header_tag points to a character string to be used as the XML header. If this is set to NULL, it prints the default header,
<?xml version="1.0">
. - xmlda_database_tag points to a character string that can be used in place of the Database tag. (See example XML document below.) If this is set to NULL, the XML tag defaults to “Database”.
- xmlda_table_tag points to a character string that can be used in place of the Tablename tag. (See example XML document below.) If this is set to NULL, the XML tag defaults to “Tablename”.
- xmlda_row_tag points to a character string that can be used in place of the Row tag. (See example XML document below.) If this is set to NULL, the XML tag defaults to “Row”.
- xmlda_flags currently has two allowable values:
XMLDA_ATTRIBUTE_FLAG
generates the XML document as attributes instead of as tagsXMLDA_NO_NULL_DISPLAY_FLAG
does not display the null data and the associated tags.
- xmlda_file_ptr should be assigned to a previously opened
FILE
pointer. The file is assumed to be open for writing. The function starts writing from the location of the write pointer. You can set or reset the write pointer to a specific location if you wish. It is recommended that you do not modify thisFILE
structure once it is in use by the function. You are responsible for closing the file.