XML Tutorial/XML Schema/normalizedString — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
 
м (1 версия)
 
(нет различий)

Текущая версия на 11:26, 26 мая 2010

The normalizedString datatype is derived from the string type

   <source lang="xml">

<xsd:element name="myString">

 <xsd:simpleType>
  <xsd:restriction base="xsd:normalizedString">
   <xsd:maxLength value="50"/>
  </xsd:restriction>
 </xsd:simpleType>

</xsd:element>

<myString>Here?one. </myString></source>