In schema design, we needn’t declare that an element is the schema’s primary key or foreign key? Or my should use rule to declare them?
I try to find some help to declare or define the primary key and foreign, but to my surprise , in "All that Jazz "document there is an example to define Schema Album: the productNO element is the Schema Album’s primary key ,but in Schema define, there is no declaration for the primary key .the productNo element define is like that:
< xs:element name = "productNo" type = "xs:normalizedString">
<xs:annotation>
<xs:appinfo>
<tsd:elementInfo>
<tsd:physical>
<tsd:native>
<tsd:index>
<tsd:standard/>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
</xs:element>
album.tsd (1.69 KB)
#API-Management#Tamino#webMethods