| <Facet> |
|
|
| A facet is a characteristic of a data type that you can use to restrict the values allowed by a type.
|
| Facets enable short cuts to building simple types by restricting another data type.
|
| A facet is defined as an element. Each facet element has a fixed attribute that is a Boolean value. All the facets for a simple type together define the set of legal values for that simple type.
|
|
|
|
| |
|
The syntax of facet statement is: <xsd:facetName value="facetValue"> Example: <xsd:simpleType name="simpleTypeName"> </xsd:simpleType> <xsd:element name="elementName" type="simpleTypeName"/> elementName - Name of the XML element xsd:typeName - A predefined data type serving as the base data type simpleTypeName - New data type expanded from the base data type Optional facet statements can be included in the restriction statement to provide additional restrictions to the extended data type: xsd:enumeration - a valid value. Reiterate this statement to provide multiple values xsd:minInclusive - Inclusive minimum value xsd:minExclusive - Exclusive minimum value xsd:maxInclusive - Inclusive maximum value xsd:maxExclusive - Exclusive maximum value xsd:pattern - A regular expression that the value must match xsd:length - Amount of characters xsd:minLength - Minimum amount of characters xsd:maxLength - Maximum amount of characters xsd:totalDigits - Maximum number of digits xsd:fractionDigits - Maximum number of digits in the fraction xsd:whiteSpace - Specifies how to handle white spaces: replace; preserve; collapse |
| RustemSoft Software Products |
|
We are glad to represent our software products designed for MS Windows. The trial versions are available for free, so you can fully evaluate it before spending your money. RustemSoft develops software of several categories: |
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
|
|
|
|
|
|
|
|
|