元素:概念表映射/mapconcept
命名空间 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
注释 | 包含概念值的表格列 ID 的映射。如果包含概念值的表列与概念 ID 具有相同的 ID,则可以省略此映射。 | ||||||||||||
图示 | |||||||||||||
属性 |
|
||||||||||||
属性 |
|
||||||||||||
来源 |
<xs:element name="mapConcept" minOccurs="0"> <xs:annotation> <xs:documentation>A mapping to the id of the table column that contains the values of the concept. This mapping may be omitted if the table column that contains the concept values has the same id as the concept id.</xs:documentation> </xs:annotation> <xs:complexType> <xs:attribute name="toColumn" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped table column.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
元素:conceptTableMapping / mapProperty
命名空间 | http://schemas.google.com/dspl/2010 | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
注释 | 表列 ID 的映射,表列包含概念的属性值。如果包含概念属性值的表列以其 ID 作为属性 ID,则可以省略此映射。通过为语言属性指定不同的值,可以将单个属性映射到多个表列(每种语言一个)。 | ||||||||||||||||||||||||
图示 | |||||||||||||||||||||||||
属性 |
|
||||||||||||||||||||||||
属性 |
|
||||||||||||||||||||||||
来源 |
<xs:element name="mapProperty" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>A mapping to the id of the table column that contains the values of a property of the concept. This mapping may be omitted if the table column that contains the concept property values has the property id as its id. A single property can be mapped to multiple table columns (one per language) by specifying different values for the language attribute.</xs:documentation> </xs:annotation> <xs:complexType> <xs:attribute name="ref" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped concept property.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="toColumn" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped table column.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute ref="xml:lang" use="optional"> <xs:annotation> <xs:documentation>The language/locale of the values in the mapped column. See [BCP 47] for possible values of the xml:lang attribute.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
复杂类型:概念表映射
命名空间 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
注释 | 映射到为概念提供数据的表。 | ||||||||||||
图示 | |||||||||||||
使用方数量 |
|
||||||||||||
模型 | mapconcept{0,1}、mapProperty* | ||||||||||||
儿童 | mapconcept、mapProperty | ||||||||||||
属性 |
|
||||||||||||
来源 |
<xs:complexType name="ConceptTableMapping"> <xs:annotation> <xs:documentation>A mapping to a table that provides data for a concept.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="mapConcept" minOccurs="0"> <xs:annotation> <xs:documentation>A mapping to the id of the table column that contains the values of the concept. This mapping may be omitted if the table column that contains the concept values has the same id as the concept id.</xs:documentation> </xs:annotation> <xs:complexType> <xs:attribute name="toColumn" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped table column.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="mapProperty" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>A mapping to the id of the table column that contains the values of a property of the concept. This mapping may be omitted if the table column that contains the concept property values has the property id as its id. A single property can be mapped to multiple table columns (one per language) by specifying different values for the language attribute.</xs:documentation> </xs:annotation> <xs:complexType> <xs:attribute name="ref" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped concept property.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="toColumn" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped table column.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute ref="xml:lang" use="optional"> <xs:annotation> <xs:documentation>The language/locale of the values in the mapped column. See [BCP 47] for possible values of the xml:lang attribute.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="ref" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the table that contains data for the concept.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> |
属性:conceptTableMapping / mapconcept / @toColumn
命名空间 | 没有命名空间 | |||
---|---|---|---|---|
注释 | 映射表列的 ID。 | |||
类型 | 本地 ID | |||
属性 |
|
|||
属性 |
|
|||
使用方数量 |
|
|||
来源 |
<xs:attribute name="toColumn" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped table column.</xs:documentation> </xs:annotation> </xs:attribute> |
属性:conceptTableMapping / mapProperty / @ref
命名空间 | 没有命名空间 | |||
---|---|---|---|---|
注释 | 映射的概念属性的 ID。 | |||
类型 | 本地 ID | |||
属性 |
|
|||
属性 |
|
|||
使用方数量 |
|
|||
来源 |
<xs:attribute name="ref" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped concept property.</xs:documentation> </xs:annotation> </xs:attribute> |
属性:conceptTableMapping / mapProperty / @toColumn
命名空间 | 没有命名空间 | |||
---|---|---|---|---|
注释 | 映射表列的 ID。 | |||
类型 | 本地 ID | |||
属性 |
|
|||
属性 |
|
|||
使用方数量 |
|
|||
来源 |
<xs:attribute name="toColumn" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the mapped table column.</xs:documentation> </xs:annotation> </xs:attribute> |
属性:conceptTableMapping / @ref
命名空间 | 没有命名空间 | |||
---|---|---|---|---|
注释 | 包含此概念的数据的表的 ID。 | |||
类型 | 本地 ID | |||
属性 |
|
|||
属性 |
|
|||
使用方数量 |
|
|||
来源 |
<xs:attribute name="ref" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The id of the table that contains data for the concept.</xs:documentation> </xs:annotation> </xs:attribute> |
使用 oXygen XML 编辑器创建。