<dataFacet>
<dataFacet> Restricts the value of the strings used to represent values of a datatype, according to XML Schemas: Part 2: Datatypes. [22.5.3.1 Datatypes] | |||||||||||||||
組件 | tagdocs — Documentation Elements | ||||||||||||||
屬性 | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||||
可包含在於 | tagdocs: dataRef | ||||||||||||||
可包含 | 空白元素 | ||||||||||||||
註 | This element is only allowed when the parent dataRef refers with name to a datatype from the specification XML Schemas: Part 2: Datatypes. | ||||||||||||||
例子 | <datatype> <dataRef name="decimal"> <dataFacet name="maxInclusive" value="360.0"/> <dataFacet name="minInclusive" value="-360.0"/> </dataRef> </datatype> | ||||||||||||||
例子 | <dataSpec ident="data.percentage"> <desc>datatype used for attributes taking an integer value between 0 and 99</desc> <content> <dataRef name="nonNegativeInteger"> <dataFacet name="maxInclusive" value="99"/> <dataFacet name="minInclusive" value="0"/> </dataRef> </content> </dataSpec> | ||||||||||||||
Content model | <content/> | ||||||||||||||
宣告 | <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 } |