xs:minLength
<xs:minLength fixed = "( true |false
)" id = "ID
" value = "nonNegativeInteger
" > <!-- (xs:annotation?) --> </xs:minLength>
The xs:minLength
facet element specifies the minimum number of
characters in a type derived from xs:string
, xs:QName
, xs:anyURI
, or xs:NOTATION
. It can also be used to
restrict xs:hexBinary
and
xs:base64Binary
. However, in
this case, it refers to the minimum number of
bytes in the decoded data, rather than the
minimum number of characters in the encoded
data. Finally, when applied to a list type, such as xs:IDREFS
, it describes the minimum
number of items in the list. If the fixed
attribute has the value true
, then types derived from this type
are not allowed to override the value of minLength
given here.