Defines

From InterBase
Jump to: navigation, search

Go Up to The IB_XMLDA Structure


There are three defines available in ibxml.h:

  • XMLDA_ATTRIBUTE_FLAG outputs the data as attributes when set to 1.
#define XMLDA_ATTRIBUTE_FLAG 0x01
  • XMLDA_NO_NULL_DISPLAY_FLAG suppresses the display of null data.
#define XMLDA_NO_NULL_DISPLAY_FLAG 0x02
  • XMLDA_NO_HEADER_FLAG suppresses display of additional header.
#define XMLDA_NO_HEADER_FLAG 0x04

XMLDA_ATTRIBUTE_FLAG generates the output as attributes instead of elements. This flag affects only the actual data generated from InterBase as the user can control all the other tags by inputting the desired attribute as tags.

Setting the XMLDA_NULL_NO_DISPLAY_FLAG causes the API to skip generating rows for data that is null. The default behavior is to generate empty strings.