<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio - FREE Community Edition 7.0.2.746 (http://www.liquid-technologies.com)-->
<schema xmlns:ep="http://www.volby.cz/ep/" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.volby.cz/ep/" xmlns="http://www.w3.org/2001/XMLSchema">
  <element name="VYSLEDKY_KANDID">
    <annotation>
      <documentation>Výsledky voleb do Evropského parlamentu - preferenční hlasy pro jednotlivé kandidáty</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element ref="ep:UCAST" />
        <element ref="ep:STRANY">
          <annotation>
            <documentation>Kandidátní listiny</documentation>
          </annotation>
        </element>
        <element ref="ep:KANDIDATI">
          <annotation>
            <documentation>Kandidáti</documentation>
          </annotation>
        </element>
      </sequence>
      <attribute name="DATUM_CAS_GENEROVANI" type="dateTime" use="required" />
    </complexType>
  </element>
  <element name="STRANY">
    <annotation>
      <documentation>Kandidátní listiny</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element minOccurs="0" maxOccurs="unbounded" ref="ep:HLASY_STRANA">
          <annotation>
            <documentation>Hlasy pro jednotlivé kandidátní listiny (jen strany s hlasy)</documentation>
          </annotation>
        </element>
      </sequence>
    </complexType>
  </element>
  <element name="KANDIDATI">
    <annotation>
      <documentation>Kandidáti</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element minOccurs="0" maxOccurs="unbounded" ref="ep:KANDIDAT">
          <annotation>
            <documentation>Preferenční hlasy pro jednotlivé kandidáty (jen kandidáti s preferenčními hlasy)</documentation>
          </annotation>
        </element>
      </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="KANDIDAT">
    <annotation>
      <documentation>Preferenční hlasy pro kandidáta</documentation>
    </annotation>
    <complexType>
      <attribute name="ESTRANA" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="PORCISLO" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="HLASY" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="10" />
          </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>