<?xml version="1.0" encoding="utf-8" ?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:Test.Namespace" xsi:schemalocation="urn:Test.Namespace Laptopy-ShchypylovNikita.xsd" xmlns:me="me@me.com" xmlns:uek="www.uek.krakow.pl">
<me:myself>
<me:name>Nikita</me:name>
<me:surename>Shchypylov</me:surename>
<me:sex>male</me:sex>
<me:age>19</me:age>
<me:city>Cracow</me:city>
<me:homeland>Ukraine</me:homeland>
<me:course>IT</me:course>
<me:numer>1</me:numer>
<me:group>Kr1013</me:group>
</me:myself>
<uek:copyright>
Wydzial Zarzadzania, Universytet Economiczny, Krakow
</uek:copyright>
<laptopy>
<type laptop="dell">
<ekran producent="samsung">
wide
</display>
<card from="intel">
very good
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
steel
</material>
</laptop>
<laptop type="samsung">
<ekran producent="samsung">
wide
</display>
<card from="intel">
good
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
steel
</material>
</laptop>
<type laptop="dell">
<ekran producent="samsung">
wide
</display>
<card from="intel">
bad
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
steel
</material>
</laptop>
<laptop type="razer">
<ekran producent="samsung">
wide
</display>
<card from="intel">
very good
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
steel
</material>
</laptop>
<type laptop="dell">
<ekran producent="samsung">
wide
</display>
<card from="intel">
perfect
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
wood
</material>
</laptop>
<laptop type="apple">
<ekran producent="samsung">
wide
</display>
<card from="intel">
very good
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
steel
</material>
</laptop>
<laptop type="asus">
<ekran producent="samsung">
wide
</display>
<card from="intel">
excellent
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
wood
</material>
</laptop>
<laptop type="toshiba">
<ekran producent="samsung">
wide
</display>
<card from="intel">
very good
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
steel
</material>
</laptop>
<type laptop="dell">
<ekran producent="samsung">
wide
</display>
<card from="intel">
very good
</card>
the <gui>
dynamic
</gui>
<ram>
8
</ram>
<material made="in_china">
steel
</material>
</laptop>
<laptop type="samsung">
<ekran producent="samsung">
wide
</display>
<card from="intel">
very good
</card></laptop></laptopy></root>
rd><br><br>
dynamic<br><br>
8<br><br>
wood<br><br><br>
.xsd:<br><br><pre><code><?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetnamespace="urn:Test.Namespace" xmlns="urn:Test.Namespace" elementformdefault="qualified" xmlns:me="me@me.com" xmlns:uek="www.uek.krakow.pl">
<xsd:element name="root">
<xsd:complextype>
<xsd:sequence>
<xsd:element name="myself" maxoccurs="unbounded">
<xsd:element name="copyright" maxoccurs="unbounded">
<xsd:element name="laptopy" maxoccurs="unbounded">
<xsd:complextype>
<xsd:sequence>
<xsd:element name="laptop" minoccurs="10" maxoccurs="unbounded">
<xsd:complextype>
<xsd:sequence>
<xsd:element name="ekran" type="ekranType">
<xsd:element name="card" type="cardType">
<xsd:element name="gui" type="xsd:string">
<xsd:element name="ram" type="xsd:integer">
<xsd:element name="material" type="materialType">
</xsd:element>
</xsd:element></xsd:element></xsd:element></xsd:element></xsd:sequence>
<xsd:attribute name="type" type="xsd:string">
</xsd:attribute></xsd:complextype>
</xsd:element>
</xsd:sequence>
</xsd:complextype>
</xsd:element>
</xsd:element></xsd:element></xsd:sequence>
</xsd:complextype>
</xsd:element>
<xsd:complextype name="ekranType">
<xsd:simplecontent>
<xsd:extension base="xsd:string">
<xsd:attribute name="producent" type="xsd:string">
</xsd:attribute></xsd:extension>
</xsd:simplecontent>
</xsd:complextype>
<xsd:complextype name="cardType">
<xsd:simplecontent>
<xsd:extension base="xsd:string">
<xsd:attribute name="from" type="xsd:string">
</xsd:attribute></xsd:extension>
</xsd:simplecontent>
</xsd:complextype>
<xsd:complextype name="materialType">
<xsd:simplecontent>
<xsd:extension base="xsd:string">
<xsd:attribute name="made" type="xsd:string">
</xsd:attribute></xsd:extension>
</xsd:simplecontent>
</xsd:complextype>
</xsd:schema></code></pre>
Find more questions by tags XSDXMLValidationWeb Development