Műszer adatok feltöltési sémája

<?xml version="1.0" encoding="ISO-8859-2" standalone="no"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
        <xs:element name="muszeradat">
                <xs:complexType>
                        <xs:attribute name="muszer_fajta" use="required">
                                <xs:simpleType>
                                        <xs:restriction base="xs:NMTOKEN">
                                                <xs:enumeration value="KOMBINALT"/>
                                                <xs:enumeration value="FUSTOLESMERO"/>
                                                <xs:enumeration value="GAZELEMZO"/>
                                        </xs:restriction>
                                </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="gyari_szam" use="required" type="str50"/>
                        <xs:attribute name="gyartmany" use="required" type="str50"/>
                        <xs:attribute name="tipus" use="required" type="str50"/>
                        <xs:attribute name="checksum" use="required" type="str20"/>
                        <xs:attribute name="alkalmassag" use="required" type="str20"/>
                        <xs:attribute name="jovahagyasi_szam" use="required" type="str20"/>
                        <xs:attribute name="kff_eng_szam" use="required" type="str20"/>
                        <xs:attribute name="hitelesites_ervenyes" type="xs:date" use="required"/>
                        <xs:attribute name="hitelesito_intezet_neve" use="required" type="str80"/>
                        <xs:attribute name="hitelesito_intezet_iranyitoszam" use="required" type="str30"/>
                        <xs:attribute name="hitelesito_intezet_telepules" use="required" type="str30"/>
                        <xs:attribute name="hitelesito_intezet_kozterulet" use="required" type="str80"/>
                        <xs:attribute name="hitelesito_intezet_hazszam" use="required" type="str30"/>
                        <xs:attribute name="hitelesitest_vegezte" use="required" type="str80"/>
                        <xs:attribute name="kalibralas_ervenyes" type="xs:date" use="required"/>
                        <xs:attribute name="kalibralo_intezet_neve" use="required" type="str80"/>
                        <xs:attribute name="kalibralo_intezet_iranyitoszam" use="required" type="str30"/>
                        <xs:attribute name="kalibralo_intezet_telepules" use="required" type="str30"/>
                        <xs:attribute name="kalibralo_intezet_kozterulet" use="required" type="str80"/>
                        <xs:attribute name="kalibralo_intezet_hazszam" use="required" type="str30"/>
                        <xs:attribute name="kalibralast_vegezte" use="required" type="str80"/>
                </xs:complexType>
        </xs:element>

        <!-- Adattípusok -->

        <xs:simpleType name="str80">
                <xs:restriction base="xs:string">
                        <xs:maxLength value="80"/>
                </xs:restriction>
        </xs:simpleType>
        
        <xs:simpleType name="str30">
                <xs:restriction base="xs:string">
                        <xs:maxLength value="30"/>
                </xs:restriction>
        </xs:simpleType>

        <xs:simpleType name="str20">
                <xs:restriction base="xs:string">
                        <xs:maxLength value="20"/>
                </xs:restriction>
        </xs:simpleType>
        
        <xs:simpleType name="str50">
                <xs:restriction base="xs:string">
                        <xs:maxLength value="50"/>
                </xs:restriction>
        </xs:simpleType>

</xs:schema>

Projekt: Fvhxmlinterface - 0.5 Készült: 13 Oct 2005 Készítette:   3Sz-s Kft.