Purpose |
This element allows for different physical schema information, if a
node can be referenced via multiple paths because of references to global
elements or attributes. Physical schemas with the same absolute path expression
can be grouped together. Therefore multiple The |
Parent element | tsd:physical |
Child elements | None |
Attributes | None |
Type |
xs:string |
Restrictions |
The following constraints exist on the
XPath
expression for
|
The following example contains two tsd:physical
elements within a
single tsd:elementInfo
:
the first one specifies physical schema information that only applies if the
TITLELENGTH
element occurs at one of the two paths
specified by the tsd:which
child elements. The second
tsd:physical
does not
contain a tsd:which
("default which"), thus it applies to all
instances of the TITLELENGTH
element not occurring
at one of the explicit paths specified by the tsd:which
elements
inside other tsd:physical
element(s)."
<xs:element name = "TITLELENGTH"> <xs:annotation> <xs:appinfo> <tsd:elementInfo> <tsd:physical> <!-- for /a/b/c/TITLELENGTH and /a/d/c/TITLELENGTH: SQL mapping and no (default) indexing --> <tsd:which> /a/b/c/TITLELENGTH </tsd:which> <tsd:which> /a/d/c/TITLELENGTH </tsd:which> <tsd:map> <tsd:nodeSQL Column="title"/> </tsd:map> </tsd:physical> <tsd:physical> <!-- default for all occurrences of TITLELENGTH: default native storage and standard index --> <tsd:native> <tsd:index> <tsd:standard/> </tsd:index> </tsd:native> </tsd:physical> </tsd:elementInfo> </xs:appinfo> </xs:annotation> </xs:element>