This element can be used in two different contexts:
In the context of xs:element/xs:annotation/xs:appinfo:
Purpose |
This element contains information describing e.g. mapping, indexing or collation aspects of an element described by the XML Schema part of TSD. Note: |
Parent element |
xs:element/xs:annotation/xs:appinfo |
Child elements | tsd:logical ,
tsd:physical |
Attributes | None |
This is a tsd:elementInfo
element for native storage of an
element using a standard index:
<xs:element name = "address"> <xs:annotation> <xs:appinfo> <tsd:elementInfo> <tsd:logical> <tsd:collation> <tsd:language value="de"/> <tsd:strength value="primary"/> <tsd:caseFirst value = "upperFirst"/> <tsd:alternate value = "shifted"/> <tsd:caseLevel value = "false"/> <tsd:french value = "false"/> <tsd:normalization value ="false"/> </tsd:collation> </tsd:logical> <tsd:physical> <tsd:native> <tsd:index> <tsd:standard/> </tsd:index> </tsd:native> </tsd:physical> </tsd:elementInfo> </xs:appinfo> </xs:annotation> . . . </xs:element>
This is a tsd:elementInfo
element for mapping an element
to an SQL table "p_table" from an ODBC data source
"p_datasource" into a schema "p_schema" using the
user ID "p_userid" and the password "p_password":
<xs:element name = "destination"> <xs:annotation> <xs:appinfo> <tsd:elementInfo> <tsd:physical> <tsd:map> <tsd:subTreeSQL schema = "p_schema" table = "p_table" userid = "p_userid" password = "p_password" datasource = "p_datasource"> </tsd:subTreeSQL> <tsd:ignoreUpdate> </tsd:ignoreUpdate> </tsd:map> </tsd:physical> </tsd:elementInfo> </xs:appinfo> </xs:annotation> <xs:complexType> <xs:simpleContent> <xs:extension base = "xs:string"> <xs:attribute ref = "xml:lang" fixed = "de"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element>
In the context of tsd:schemaInfo
:
Purpose | The tsd:elementInfo element
contains information describing e.g. mapping, indexing or collation aspects of
an element described by the
XML
Schema part of TSD.
|
Parent element | tsd:schemaInfo |
Child elements | tsd:physical |
Attributes | context |
Name | Type | Description |
---|---|---|
context |
xs:string |
This attribute contains the string with the context information for the element information. The ("/" element name) |