<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=XML_Tutorial%2FXML_Schema%2Flist</id>
		<title>XML Tutorial/XML Schema/list - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=XML_Tutorial%2FXML_Schema%2Flist"/>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=XML_Tutorial/XML_Schema/list&amp;action=history"/>
		<updated>2026-04-04T18:51:43Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wbex.ru/index.php?title=XML_Tutorial/XML_Schema/list&amp;diff=10703&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=XML_Tutorial/XML_Schema/list&amp;diff=10703&amp;oldid=prev"/>
				<updated>2010-05-26T08:26:49Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 08:26, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wbex.ru/index.php?title=XML_Tutorial/XML_Schema/list&amp;diff=10702&amp;oldid=prev</id>
		<title> в 18:22, 25 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=XML_Tutorial/XML_Schema/list&amp;diff=10702&amp;oldid=prev"/>
				<updated>2010-05-25T18:22:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== A list data type is derived from an atomic data type that allows white space==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- schema --&amp;gt;&lt;br /&gt;
&amp;lt;simpleType name=&amp;quot;myLuckyNumbers&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;list itemType=&amp;quot;decimal&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/simpleType&amp;gt;&lt;br /&gt;
&amp;lt;!-- instance document --&amp;gt;&lt;br /&gt;
&amp;lt;numbers xsi:type=&amp;quot;myLuckyNumbers&amp;quot;&amp;gt; 3 7 13 17 21.5 &amp;lt;/numbers&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== length of our list is five==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- schema --&amp;gt;&lt;br /&gt;
&amp;lt;simpleType name=&amp;quot;myString&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;list itemType=&amp;quot;string&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/simpleType&amp;gt;&lt;br /&gt;
&amp;lt;!-- instance document --&amp;gt;&lt;br /&gt;
&amp;lt;string_list xsi:type=&amp;quot;myString&amp;quot;&amp;gt;&lt;br /&gt;
  This string is a list&lt;br /&gt;
&amp;lt;/string_list&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Restrict a list type with the xsd:length, xsd:maxLength, xsd:minLength, and xsd:enumeration facets.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;xsd:schema xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&lt;br /&gt;
  targetNamespace=&amp;quot;http://www.wbex.ru&amp;quot; &lt;br /&gt;
  xmlns=&amp;quot;http://www.wbex.ru&amp;quot;&lt;br /&gt;
  elementFormDefault=&amp;quot;qualified&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;xsd:simpleType name=&amp;quot;three_datelist&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsd:list base=&amp;quot;xsd:date&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;xsd:length value=&amp;quot;3&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/xsd:list&amp;gt;&lt;br /&gt;
  &amp;lt;/xsd:simpleType&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;xsd:element name=&amp;quot;list_of_3_birthdays&amp;quot; type=&amp;quot;three_datelist&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/xsd:schema&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
File: Data.xml&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;list_of_3_birthdays&amp;gt;1893-04-20 1904-05-11&lt;br /&gt;
1852-06-25&amp;lt;/list_of_3_birthdays&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== The list method uses a finite sequence of itemType attributes to derive a new type==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- schema --&amp;gt;&lt;br /&gt;
&amp;lt;simpleType name=&amp;quot;websafe_hex&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;list itemType=&amp;quot;string&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/simpleType&amp;gt;&lt;br /&gt;
&amp;lt;!-- instance document --&amp;gt;&lt;br /&gt;
&amp;lt;color xsi:type=&amp;quot;websafe_hex&amp;quot;&amp;gt; 00 33 66 99 cc ff&amp;lt;/color&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Using a &amp;lt;list&amp;gt; declaration, you can base your list items on a specific &amp;lt;simpleType&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;list itemType=&amp;quot;name of simpleType used for validating items in the list&amp;quot;&amp;gt;&lt;br /&gt;
You specify the type of items by including the itemType attribute. &lt;br /&gt;
itemType attribute should be a reference to a global &amp;lt;simpleType&amp;gt; definition or built-in XML Schema datatype.&lt;br /&gt;
The &amp;lt;list&amp;gt; declaration allows you to specify your itemType by creating a local &amp;lt;simpleType&amp;gt; definition.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;simpleType name=&amp;quot;ContactTagsType&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;restriction base=&amp;quot;string&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;enumeration value=&amp;quot;author&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;enumeration value=&amp;quot;xml&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;enumeration value=&amp;quot;poetry&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;enumeration value=&amp;quot;consultant&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;enumeration value=&amp;quot;CGI&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;enumeration value=&amp;quot;semantics&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;enumeration value=&amp;quot;employees&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/restriction&amp;gt;&lt;br /&gt;
&amp;lt;/simpleType&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;list&amp;gt; declaration: &lt;br /&gt;
&amp;lt;simpleType name=&amp;quot;ContactTagsListType&amp;quot;&amp;gt; &lt;br /&gt;
    &amp;lt;list itemType=&amp;quot;contacts:ContactTagsType&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/simpleType&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
			</entry>

	</feed>