XMLDA_ATTRIBUTE_FLAG

From InterBase
Jump to: navigation, search

Go Up to Using the xmlda_flags


Setting the XMLDA_ATTRIBUTE_FLAG outputs the data as attributes rather than elements. This flag affects only the actual data generated from InterBase. All other tags can be controlled by inputting the desired attributes as tags. If this flag is set, the XML file is be generated as follows:

<?xml version="1.0"?>
<!-- Example XML from IB (smistry) -->
<Employee_DB>
<PhoneList>
<Employee>
<LAST_NAME="Bender">
<FIRST_NAME="Oliver H.">
<PHONE_EXT="255">
</Employee>
<Employee>
<LAST_NAME="Bishop">
<FIRST_NAME="Dana">
<PHONE_EXT="290">
</Employee>
…
…
<Employee>
<LAST_NAME="Young">
<FIRST_NAME="Katherine">
<PHONE_EXT="231">
</Employee>
</PhoneList>
</Employee_DB>