Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## Representing indexes in XML Schema

> The following Progress-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.

> Syntax
>     <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 Progress-specific index definition.

> 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>

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095