<dataFacet>

<dataFacet> Restricts the value of the strings used to represent values of a datatype, according to XML Schema Part 2: Datatypes Second Edition. [22.5.3.1 Datatypes]
모듈 tagdocs — Documentation Elements
속성
name⚓︎ the name of the facet.
상태 필수적
자료 유형 teidata.word
적법한 값은:
length
minLength
maxLength
pattern
enumeration
whiteSpace
maxInclusive
minInclusive
maxExclusive
minExclusive
totalDigits
fractionDigits
value⚓︎ the facet value.
상태 필수적
자료 유형 string
에 의해 포함된
tagdocs: dataRef
포함할 수 있다 공백 요소
주석

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.

<datatype>
 <dataRef name="decimal">
  <dataFacet name="maxInclusive"
   value="360.0"/>

  <dataFacet name="minInclusive"
   value="-360.0"/>

 </dataRef>
</datatype>
<dataSpec ident="data.integerExample">
 <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="minInclusivevalue="0"/>
  </dataRef>
 </content>
</dataSpec>
Content model
<content>
 <empty/>
</content>
선언
<rng:element name="dataFacet">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:attribute name="name">
  <rng:choice>
   <rng:value>length</rng:value>
   <rng:value>minLength</rng:value>
   <rng:value>maxLength</rng:value>
   <rng:value>pattern</rng:value>
   <rng:value>enumeration</rng:value>
   <rng:value>whiteSpace</rng:value>
   <rng:value>maxInclusive</rng:value>
   <rng:value>minInclusive</rng:value>
   <rng:value>maxExclusive</rng:value>
   <rng:value>minExclusive</rng:value>
   <rng:value>totalDigits</rng:value>
   <rng:value>fractionDigits</rng:value>
  </rng:choice>
 </rng:attribute>
 <rng:attribute name="value">
  <rng:data type="string"/>
 </rng:attribute>
 <rng:empty/>
</rng:element>
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
}