<?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%2Fall</id>
		<title>XML Tutorial/XML Schema/all - История изменений</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%2Fall"/>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=XML_Tutorial/XML_Schema/all&amp;action=history"/>
		<updated>2026-04-04T15:51:38Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wbex.ru/index.php?title=XML_Tutorial/XML_Schema/all&amp;diff=10615&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/all&amp;diff=10615&amp;oldid=prev"/>
				<updated>2010-05-26T08:26:45Z</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/all&amp;diff=10614&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/all&amp;diff=10614&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;== &amp;lt;all&amp;gt; Declarations==&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;all&amp;gt; says that the elements within your content model may appear in any order.&lt;br /&gt;
&amp;lt;all&amp;gt; must be the only content model declaration that appears as a child of a &amp;lt;complexType&amp;gt; definition. &lt;br /&gt;
&amp;lt;all&amp;gt; cannot contain &amp;lt;sequence&amp;gt;, &amp;lt;choice&amp;gt;, or &amp;lt;group&amp;gt; declarations. &lt;br /&gt;
&amp;lt;all&amp;gt; declaration&amp;quot;s children may appear once each in the instance document. &lt;br /&gt;
Within the &amp;lt;all&amp;gt;, the values for minOccurs/maxOccurs are limited to 0 or 1. &lt;br /&gt;
&amp;lt;all&amp;gt; is used when the expected content is known, but not the order. &lt;br /&gt;
Suppose you declared the &amp;lt;name&amp;gt; content model using the &amp;lt;all&amp;gt;: &lt;br /&gt;
&amp;lt;element name=&amp;quot;name&amp;quot;&lt;br /&gt;
    &amp;lt;complexType&amp;gt;&lt;br /&gt;
        &amp;lt;all&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;first&amp;quot; type=&amp;quot;string&amp;quot;/&lt;br /&gt;
            &amp;lt;element name=&amp;quot;middle&amp;quot; type=&amp;quot;string&amp;quot;/&lt;br /&gt;
            &amp;lt;element name=&amp;quot;last&amp;quot; type=&amp;quot;string&amp;quot;/&lt;br /&gt;
        &amp;lt;/all&amp;gt;&lt;br /&gt;
        &amp;lt;attribute name=&amp;quot;title&amp;quot; type=&amp;quot;string&amp;quot;/&lt;br /&gt;
    &amp;lt;/complexType&amp;gt;&lt;br /&gt;
&amp;lt;/element&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The allowable content for a &amp;lt;name&amp;gt; element declared using an &amp;lt;all&amp;gt; declaration might include &lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;first&amp;gt;first&amp;lt;/first&amp;gt; &lt;br /&gt;
    &amp;lt;middle&amp;gt;middle&amp;lt;/middle&amp;gt; &lt;br /&gt;
    &amp;lt;last&amp;gt;last&amp;lt;/last&amp;gt; &lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
or &lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;first&amp;gt;first&amp;lt;/first&amp;gt; &lt;br /&gt;
    &amp;lt;last&amp;gt;last&amp;lt;/last&amp;gt; &lt;br /&gt;
    &amp;lt;middle&amp;gt;middle&amp;lt;/middle&amp;gt; &lt;br /&gt;
&amp;lt;/name&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Allowing Elements to Appear in Any Order==&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;
The members of an &amp;quot;all&amp;quot; group may appear once or not at all, in any order.&lt;br /&gt;
The minOccurs and maxOccurs attributes may only be set to 0 or 1.&lt;br /&gt;
An all group can only contain individual element declarations or references, not other groups. &lt;br /&gt;
An all group can only be contained either a complex type definition or a named group definition.&lt;br /&gt;
File: Schema.xsd&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:element name=&amp;quot;subspecies&amp;quot; type=&amp;quot;subspeciesType&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;xsd:complexType name=&amp;quot;subspeciesType&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsd:all&amp;gt;&lt;br /&gt;
      &amp;lt;xsd:element name=&amp;quot;region&amp;quot; type=&amp;quot;xsd:string&amp;quot; minOccurs=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;xsd:element name=&amp;quot;population&amp;quot; type=&amp;quot;xsd:string&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/xsd:all&amp;gt;&lt;br /&gt;
  &amp;lt;/xsd:complexType&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;subspecies xmlns=&amp;quot;http://www.wbex.ru&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;population&amp;gt;3159&amp;lt;/population&amp;gt;&lt;br /&gt;
  &amp;lt;region&amp;gt;India&amp;lt;/region&amp;gt;&lt;br /&gt;
&amp;lt;/subspecies&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
			</entry>

	</feed>