September 2002
Intermediate to advanced
1008 pages
22h 3m
English
Listing 23.1 shows the simple type partNameType, first seen in Listing 10.1.
<xsd:simpleType name="partNameType"
final="list,union"
id="catalog.partName.sType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A part name can be almost anything.
The name is a short description.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token"
id="pnt-rst">
<xsd:minLength value="1"/>
<xsd:maxLength value="40"/>
</xsd:restriction>
</xsd:simpleType>
|
Mapping this to a database schema involves creating a database column of type token, entering a description of the column, and enforcing the minLength and maxLength ...
Read now
Unlock full access