by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)
param — Datatype parameter
element param { attribute name { xsd:NCName }, ( attribute ns { text }?, attribute datatypeLibrary { xsd:anyURI }?, attribute * - (rng:* | local:*) { text }* ), text } |
The param element specifies 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, these parameters are the facets of the datatype and define additional restrictions to be applied. The name of the parameter is defined by the name attribute, and its value is the content of the param element.
<element name="book"> <attribute name="id"> <data type="NMTOKEN"> <param name="maxLength">16</param> </data> </attribute> <attribute name="available"> <data type="boolean"/> </attribute> <element name="isbn"> <data type="NMTOKEN"> <param name="pattern">[0-9]{9}[0-9x]</param> </data> </element> <element name="title"> <attribute name="xml:lang"> <data type="language"> <param name="length">2</param> </data> </attribute> <data type="token"> <param name="maxLength">255</param> </data> </element> |
This text is released under the Free Software Foundation GFDL.