Facet Type Properties in XML Schemas

Facet types have the properties described in Table 51:

Property
Description
Facet Type
Must be one of the following: enumeration, fractionDigits, length, maxExclusive, maxInclusive, maxLength, minExclusive, minInclusive, minLength, pattern, totalDigits, or whiteSpace.
Fixed
A Boolean value that indicates whether you can further restrict the simpleType with this same facet and a different value. The default is false. That is, the default is that you can apply the same facet more than once. For example, suppose you specify the following definition:
<xsd:simpleType name="zip"> 
               

              
<xsd:restriction base="xsd:string"> 
                   
<xsd:length value="5" fixed="true"/> 
                   
</xsd:restriction> 
                   

                
</xsd:simpleType>  
This defines a postal code whose length is 5 characters. You can further restrict this simpleType with, for example, the pattern facet so that the first three characters must always be " 100", but you cannot further restrict the length facet when the Fixed property is set to true.
Facet types of pattern and enumeration do not have the Fixed property.
Value
Varies according to the facet type. See About Facet Types for simpleTypes.
Table 51. Facet Type Properties

Why XQuery - The Case for XQuery

Read "The Case for XQuery" - an article that debuted in the November 2005 issue of SOA WebServices Journal, written by Jerry King, Vice President of DataDirect Technologies.

Microsoft .NET XML Tools for System.XML 1.0 and System.XML 2.0

Stylus Studio features integrated XML validation, XSLT transformation and XSLT debugging using the official Microsoft .NET XML processing components: System.XML 1.0 and System.XML 2.0.

Using Stylus Studio's Database-to-XML Editor to Query and Update Relational Databases using SQL/XML

Watch and learn how easy it is to define relational-to-XML mappings for getting XML out of relational databases and updating databases from XML using industry-standard SQL/XML extensions and Stylus Studio's DB-to-XML data-source editor.

Airlines, Aerospace and Defense

Want to know what airlines, aerospace and defense companies are soaring high with Stylus Studio 2006? Well now you can! Come check out these leading companies and soar with Stylus Studio 2006 yourself.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member