<dataFacet>
<dataFacet> Restricts the value of the strings used to represent values of a datatype, according to XML Schema Part 2: Datatypes Second Edition. [23.5.3.1 Datatypes] | |||||||||||||||
Module | tagdocs — Documentation Elements | ||||||||||||||
Attributes |
|
||||||||||||||
Contained by |
tagdocs: dataRef
|
||||||||||||||
May contain | Empty element | ||||||||||||||
Note |
This element is only allowed when the parent dataRef refers with name to a datatype from the specification XML Schema Part 2: Datatypes Second Edition. |
||||||||||||||
Example |
<datatype>
<dataRef name="decimal"> <dataFacet name="maxInclusive" value="360.0"/> <dataFacet name="minInclusive" value="-360.0"/> </dataRef> </datatype> |
||||||||||||||
Example | |||||||||||||||
Content model |
<content> |
||||||||||||||
Schema Declaration |
<rng:element name="dataFacet"> element dataFacet { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, attribute name { "length" | "minLength" | "maxLength" | "pattern" | "enumeration" | "whiteSpace" | "maxInclusive" | "minInclusive" | "maxExclusive" | "minExclusive" | "totalDigits" | "fractionDigits" }, attribute value { string }, empty } |