The following ABL-specific XML Schema attributes are added to help fully describe a temp-table index.

  • primaryIndex — Indicates the primary index for the temp-table
  • wordIndex — Identifies an index as a word index
  • descending — Indicates descending order for a component of the index

Unique temp-table indexes are represented with the XML Schema unique definition, as shown in the syntax below:

<xsd:unique name="IndexName" prodata:primaryIndex="BooleanValue" >
  <xsd:selector xpath="TableName" />
  <xsd:field xpath="FieldName" prodata:descending="BooleanValue"/>
   ...
  <xsd:field xpath="FieldName" prodata:descending="BooleanValue"/>
</xsd:unique>

Non-unique temp-table indexes are represented with the ABL-specific index definition, as shown in the following syntax:

<prodata:index name="IndexName" 
  prodata:primaryIndex ="BooleanValue"
  prodata:wordIndex="BooleanValue">
  <prodata:table name="TableName" />  
  <prodata:field name="FieldName" prodata:descending="BooleanValue"/>
  ...
  <prodata:field name="FieldName" prodata:descending="BooleanValue"/>
</prodata:index>