by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


Name

param — Datatype parameter

Synopsis

param ::= 
identifierOrKeyword "=" 
literal

Restrictions

parameter

May be included in

datatypeName param exceptPattern.

XML syntax equivalent

param

Description

The param production defines parameters passed to the datatype library to determine whether a value is valid per a datatype. When the datatype library is the W3C XML Schema datatype set, these parameters are the facets of the datatype, and they define additional restrictions to be applied. The name of the parameter is defined by identifierOrKeyword and its value is defined by literal param.

Example

 element born {xs:date {
   minInclusive = "1900-01-01"
   maxInclusive = "2099-12-31"
   pattern = "[0-9]{4}-[0-9]{2}-[0-9]{2}"
 }}

This text is released under the Free Software Foundation GFDL.