keyfield element

Content model

keyfield:==EMPTY

Attributes

  • @xlink (MNTOKEN)
  • @xpath (MNTOKEN)

Parents

<key> , <dbindex />

Children

None

Description

This element defines the fields to be integrated into an index or a key.

Attribute description

  • xlink (MNTOKEN): lets you automatically reference foreign keys defined in the join for a relation table (N-N link).
  • xpath (MNTOKEN): definition of an index or a key on an <attribute> element. This attribute receives an Xpath which defines the path to the schema attribute that defines the key or the index.

Examples

Selection of the “sName” field in an index with an Xpath on “@name”:

<keyfield xpath="@name"/>

On this page