<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Martin Matejka (BIOS Ltd.) -->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ep="http://www.volby.cz/ep/" targetNamespace="http://www.volby.cz/ep/" elementFormDefault="unqualified" attributeFormDefault="unqualified">
	<element name="VYSLEDKY">
		<annotation>
			<documentation>Výsledky voleb do Evropského parlamentu</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element ref="ep:KRAJ" maxOccurs="14">
					<annotation>
						<documentation>Výsledky v rámci kraje</documentation>
					</annotation>
				</element>
				<element ref="ep:CR"/>
			</sequence>
			<attribute name="DATUM_GENEROVANI" type="string" use="required"/>
			<attribute name="CAS_GENEROVANI" type="string" use="required"/>
		</complexType>
	</element>
	<element name="KRAJ">
		<annotation>
			<documentation>Volební kraj</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element ref="ep:UCAST">
					<annotation>
						<documentation>Volební účast</documentation>
					</annotation>
				</element>
				<element ref="ep:HLASY_STRANA" maxOccurs="unbounded"/>
			</sequence>
			<attribute name="NUTS_KRAJ" use="required">
				<simpleType>
					<restriction base="string">
						<maxLength value="6"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="NAZ_KRAJ" use="required">
				<simpleType>
					<restriction base="string">
						<maxLength value="20"/>
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<element name="STRANA">
		<annotation>
			<documentation>Kandidátní listina</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element ref="ep:HLASY_STRANA"/>
				<element ref="ep:MANDATY_STRANA" minOccurs="0"/>
			</sequence>
			<attribute name="ESTRANA" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="2"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="NAZ_STR" use="required">
				<simpleType>
					<restriction base="string">
						<maxLength value="50"/>
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<element name="CR">
		<annotation>
			<documentation>Celkové výsledky za ČR</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element ref="ep:UCAST">
					<annotation>
						<documentation>Volební účast</documentation>
					</annotation>
				</element>
				<element ref="ep:STRANA" maxOccurs="unbounded"/>
			</sequence>
		</complexType>
	</element>
	<element name="HLASY_STRANA">
		<annotation>
			<documentation>Výsledky za kandidátní listinu - hlasy</documentation>
		</annotation>
		<complexType>
			<attribute name="ESTRANA" type="decimal" use="required"/>
			<attribute name="HLASY" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="9"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PROC_HLASU" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5"/>
						<fractionDigits value="2"/>
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<element name="MANDATY_STRANA">
		<annotation>
			<documentation>Výsledky za kandidátní listinu - mandáty a poslanci</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element ref="ep:POSLANEC" maxOccurs="unbounded"/>
			</sequence>
			<attribute name="MANDATY" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="2"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PROC_MANDATU" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5"/>
						<fractionDigits value="2"/>
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<element name="POSLANEC">
		<annotation>
			<documentation>Informace o zvoleném poslanci EP</documentation>
		</annotation>
		<complexType>
			<attribute name="PORADOVE_CISLO" use="required">
				<simpleType>
					<restriction base="decimal">
						<minInclusive value="1"/>
						<maxInclusive value="70"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="JMENO" use="required">
				<simpleType>
					<restriction base="string">
						<maxLength value="40"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PRIJMENI" use="required">
				<simpleType>
					<restriction base="string">
						<maxLength value="30"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="TITULPRED" use="required">
				<simpleType>
					<restriction base="string">
						<maxLength value="20"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="TITULZA" use="required">
				<simpleType>
					<restriction base="string">
						<maxLength value="15"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PREDNOSTNI_HLASY" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="10"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PREDNOSTNI_HLASY_PROC" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5"/>
						<fractionDigits value="2"/>
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<element name="UCAST">
		<annotation>
			<documentation>Volební účast</documentation>
		</annotation>
		<complexType>
			<attribute name="OKRSKY_CELKEM" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="OKRSKY_ZPRAC" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="OKRSKY_ZPRAC_PROC" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5"/>
						<fractionDigits value="2"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="ZAPSANI_VOLICI" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="VYDANE_OBALKY" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="UCAST_PROC" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5"/>
						<fractionDigits value="2"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="ODEVZDANE_OBALKY" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PLATNE_HLASY" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8"/>
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PLATNE_HLASY_PROC" use="required">
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5"/>
						<fractionDigits value="2"/>
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
</schema>
