Escolar Documentos
Profissional Documentos
Cultura Documentos
3.1
Notes
see (3)
see (4)
see (2)
see (2)
see (2)
Notes: (1) To retain compatibility between XML Schema and XML 1.0 DTDs, the simple types ID, IDREF, IDREFS, ENTITY,
ENTITIES, NOTATION, NMTOKEN, NMTOKENS should only be used in attributes. (2) A value of this type can be represented by
more than one lexical format, e.g. 100 and 1.0E2 are both valid float formats representing "one hundred". However, rules have
been established for this type that define a canonical lexical format, see XML Schema Part 2. (3) Newline, tab and carriage-return
characters in a normalizedString type are converted to space characters before schema processing. (4) As normalizedString, and
adjacent space characters are collapsed to a single space character, and leading and trailing spaces are removed. (5) The "g"
prefix signals time periods in the Gregorian calender. otes: (1) To retain compatibility between XML Schema and XML 1.0 DTDs,
the simple types ID, IDREF, IDREFS, ENTITY, ENTITIES, NOTATION, NMTOKEN, NMTOKENS should only be used in
attributes. (2) A value of this type can be represented by more than one lexical format, e.g. 100 and 1.0E2 are both valid float
formats representing "one hundred". However, rules have been established for this type that define a canonical lexical format,
see XML Schema Part 2. (3) Newline, tab and carriage-return characters in a normalizedString type are converted to space
characters before schema processing. (4) As normalizedString, and adjacent space characters are collapsed to a single space
character, and leading and trailing spaces are removed. (5) The "g" prefix signals time periods in the Gregorian calender.
Pattern Facet
<schema xmlns='http://www.w3.org/2001/XMLSchema'>
<simpleType name='DNAType'>
<restriction base='string'>
<pattern value='(A|G|T|C)+'/>
</restriction>
</simpleType>
<element name='DNA' type='DNAType/>
</schema>
Valid XML:
<DNA>AGCTATATACGGTAACGTA</DNA>
Invalid XML:
<DNA>AGTBCTGAEC</DNA>
<DNA>10100011011</DNA>"
NMTOKENS
IDREFS
ENTITIES