XML Tutorial/XML Schema/normalizedString
The normalizedString datatype is derived from the string type
<!-- schema -->
<xsd:element name="myString">
<xsd:simpleType>
<xsd:restriction base="xsd:normalizedString">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<!-- instance document -->
<myString>Here?one. </myString>