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

	<entry>
		<id>http://wbex.ru/index.php?title=XML_Tutorial/XML_Schema/complexContent&amp;diff=10611&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/complexContent&amp;diff=10611&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/complexContent&amp;diff=10610&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/complexContent&amp;diff=10610&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;== Basing Complex Types on Complex Types==&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;
Declaring an Element of Complex Type&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; 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:complexType name=&amp;quot;characteristicsType&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsd:sequence&amp;gt;&lt;br /&gt;
      &amp;lt;xsd:element name=&amp;quot;weight&amp;quot; type=&amp;quot;xsd:string&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;xsd:element name=&amp;quot;length&amp;quot; type=&amp;quot;xsd:string&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/xsd:sequence&amp;gt;&lt;br /&gt;
      &amp;lt;xsd:attribute name=&amp;quot;kind&amp;quot; type=&amp;quot;xsd:string&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/xsd:complexType&amp;gt;&lt;br /&gt;
  &amp;lt;xsd:complexType name=&amp;quot;birthType&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsd:complexContent&amp;gt;&lt;br /&gt;
      &amp;lt;xsd:extension base=&amp;quot;characteristicsType&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsd:sequence&amp;gt;&lt;br /&gt;
          &amp;lt;xsd:element name=&amp;quot;mother&amp;quot; type=&amp;quot;xsd:string&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;xsd:element name=&amp;quot;birthdate&amp;quot; type=&amp;quot;xsd:date&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;/xsd:sequence&amp;gt;&lt;br /&gt;
      &amp;lt;/xsd:extension&amp;gt;&lt;br /&gt;
    &amp;lt;/xsd:complexContent&amp;gt;&lt;br /&gt;
  &amp;lt;/xsd:complexType&amp;gt;&lt;br /&gt;
  &amp;lt;xsd:element name=&amp;quot;birth_characteristics&amp;quot; type=&amp;quot;birthType&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;birth_characteristics xmlns=&amp;quot;http://www.wbex.ru&amp;quot; kind=&amp;quot;normal&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;weight&amp;gt;2-3 pounds&amp;lt;/weight&amp;gt;&lt;br /&gt;
  &amp;lt;length&amp;gt;18-24 inches&amp;lt;/length&amp;gt;&lt;br /&gt;
  &amp;lt;mother&amp;gt;Abcde&amp;lt;/mother&amp;gt;&lt;br /&gt;
  &amp;lt;birthdate&amp;gt;1999-06-10&amp;lt;/birthdate&amp;gt;&lt;br /&gt;
&amp;lt;/birth_characteristics&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Defining Empty Elements==&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;
Elements that can contain attributes but that have no content between the opening and closing tags are considered empty.&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; 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:complexType name=&amp;quot;sourceType&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsd:complexContent&amp;gt;&lt;br /&gt;
      &amp;lt;xsd:extension base=&amp;quot;xsd:anyType&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsd:attribute name=&amp;quot;sectionid&amp;quot; type=&amp;quot;xsd:integer&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;xsd:attribute name=&amp;quot;newspaperid&amp;quot; type=&amp;quot;xsd:integer&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;/xsd:extension&amp;gt;&lt;br /&gt;
    &amp;lt;/xsd:complexContent&amp;gt;&lt;br /&gt;
  &amp;lt;/xsd:complexType&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;xsd:element name=&amp;quot;source&amp;quot; type=&amp;quot;sourceType&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;source xmlns=&amp;quot;http://www.wbex.ru&amp;quot; sectionid=&amp;quot;101&amp;quot; newspaperid=&amp;quot;21&amp;quot;/&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Derived by Restriction==&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;xs:schema xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&lt;br /&gt;
  targetNamespace=&amp;quot;http://www.wbex.ru&amp;quot; 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;xs:complexType name=&amp;quot;ShortAddress&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xs:complexContent&amp;gt;&lt;br /&gt;
      &amp;lt;xs:restriction base=&amp;quot;Address&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
          &amp;lt;xs:element name=&amp;quot;Name&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;xs:element name=&amp;quot;Street&amp;quot; type=&amp;quot;xs:string&amp;quot;&lt;br /&gt;
            minOccurs=&amp;quot;1&amp;quot; maxOccurs=&amp;quot;2&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;xs:element name=&amp;quot;City&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;
        &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
      &amp;lt;/xs:restriction&amp;gt;&lt;br /&gt;
    &amp;lt;/xs:complexContent&amp;gt;&lt;br /&gt;
  &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
&amp;lt;/xs:schema&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
			</entry>

	</feed>