This element can be used in the following different contexts:
For reference definition, the tsd:refers
element is
used in the context of tsd:standard
or
tsd:text
as described in the
following table:
Purpose |
This element defines references for use in connection
with reference indexes. The content of the For more information on this topic, see also
|
Parent element | tsd:text , tsd:standard |
Child elements | None |
Attributes | None |
Restrictions |
The following rules apply for this element:
As long as these conditions are fulfilled, recursive structures can also be indexed. |
Type |
xs:string |
This example shows how to use the tsd:refers
element
for index definition: The index refers to /Doc/A/B.
<xs:element name = "C" type = "xs:string">
...
<tsd:elementInfo>
<tsd:physical>
<tsd:which>/Doc/A/B/C</tsd:which>
<tsd:native>
<tsd:index>
<tsd:text>
<tsd:refers>/Doc/A/B<tsd:refers>
</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
...
</xs:element>
For reference index definition, the tsd:refers
element is used in the context of tsd:reference
as described in the
following table:
Purpose |
In the context of reference indexes, one reference node
may refer to another reference node. The current reference node uses the
For more information on this topic, see also
|
Parent element | tsd:reference |
Child elements | None |
Attributes | None |
Restrictions |
The following rules apply for the contents of this element:
|
Type |
xs:string |
The following excerpt from a schema describes a reference index
definition for the node B, which should refer to the ancestor
/Doc/A
:
<xs:element name = "B" maxOccurs = "unbounded"> . . . <tsd:elementInfo> <tsd:physical> <tsd:native> <tsd:index> <tsd:reference> <tsd:refers>/Doc/A<tsd:refers> </tsd:reference> . . . </tsd:index> </tsd:native> </tsd:physical> </tsd:elementInfo> . . . </xs:element>