RELAX NG by Eric van der Vlist will be published by O'Reilly & Associates (ISBN: 0596004214)
You are welcome to use our annotation system to give your feedback.
param — Datatype parameter
pattern
element param { attribute name { xsd:NCName }, ( attribute ns { text }?, attribute datatypeLibrary { xsd:anyURI }?, attribute * - (rng:* | local:*) { text }* ), text } |
data.
param
The param element defines parameters passed to the datatype library to determine if a value is valid per a datatype. When the datatype library is the W3C XML Schema datatypes, these parameters are the facets of the datatype and they 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> |
The datatypeLibrary attribute defines the default datatype library. The value of datatypeLibrary is inherited.
The name attribute specifies the name of the parameter.
The ns attribute defines the default namespace for the elements defined in a portion of schema. The value of ns is inherited.
You are welcome to use our annotation system to give your feedback.
[Annotations for this page]
All text is copyright Eric van der Vlist, Dyomedea. During development, I give permission for non-commercial copying for educational and review purposes. After publication, all text will be released under the Free Software Foundation GFDL.