Dit is een oude revisie van het document!
Validatieschema voor detailschermen
MDDC_Detail.xsd
<code xml> <?xml version=“1.0” encoding=“UTF-8”?> <xs:schema version=“1.0” xmlns:xs=“http://www.w3.org/2001/XMLSchema” elementFormDefault=“qualified”>
<xs:element name="document">
<xs:complexType>
<xs:sequence>
<xs:element name="screenwidth" type="xs:integer" nillable="false"/>
<xs:element ref="columns" minOccurs="1"
maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="columns">
<xs:complexType>
<xs:sequence>
<xs:element ref="blok" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="blok">
<xs:complexType>
<xs:sequence>
<xs:element name="label" type="xs:string" nillable="false"/>
<xs:element name="width" type="xs:integer" nillable="false"/>
<xs:element name="height" type="xs:integer" nillable="false"/>
<xs:element name="type" type="xs:string" nillable="false"/>
<xs:element name="notvisibleif" type="xs:string" nillable="true" minOccurs="0"/>
<xs:element ref="column" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="column">
<xs:complexType>
<xs:sequence>
<xs:element name="regel" type="xs:integer" nillable="false"/>
<xs:element name="tagnaam" type="xs:string" minOccurs="0"/>
<xs:element name="label" type="xs:string" minOccurs="0"/>
<xs:element name="divwidth" type="xs:integer" nillable="false"/>
<xs:element name="divheight" type="xs:integer" nillable="false"/>
<xs:element name="edit" type="xs:string" nillable="false"/>
<xs:element name="showhint" type="xs:boolean" nillable="false"/>
<xs:element name="wavetype" type="stringtype_wavetype" nillable="false"/>
<xs:element name="source" type="xs:string" minOccurs="0"/>
<xs:element name="filter" type="xs:string" minOccurs="0"/>
<xs:element name="refresh" type="xs:boolean" default="false" minOccurs="0"/>
<xs:element name="backcolor" type="xs:string" minOccurs="0"/>
<xs:element name="fontcolor" type="xs:string" minOccurs="0"/>
<xs:element name="nullable" type="xs:string" default="true" minOccurs="0"/>
<xs:element name="icoon" type="xs:integer" default="0" minOccurs="0"/>
<xs:element name="align" type="xs:string" minOccurs="0"/>
<xs:element name="pretext" type="xs:string" minOccurs="0"/>
<xs:element name="posttext" type="xs:string" minOccurs="0"/>
<xs:element name="pattern" type="xs:string" minOccurs="0"/>
<xs:element name="hint" type="xs:string" minOccurs="0"/>
<xs:element name="action" type="xs:string" minOccurs="0"/>
<xs:element name="textpattern" type="xs:string" minOccurs="0"/>
<xs:element name="visible" type="xs:string" minOccurs="0"/>
<xs:element name="maxcharacters" type="xs:integer" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="value" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="stringtype_wavetype">
<xs:restriction base="xs:string">
<xs:enumeration value="string"/>
<xs:enumeration value="integer"/>
<xs:enumeration value="float"/>
<xs:enumeration value="memo"/>
<xs:enumeration value="spinedit"/>
<xs:enumeration value="float"/>
<xs:enumeration value="datum"/>
<xs:enumeration value="icoon"/>
<xs:enumeration value="kleurbal"/>
<xs:enumeration value="boolean"/>
<xs:enumeration value="boolean+"/>
<xs:enumeration value="booleanV"/>
<xs:enumeration value="keuzelijst"/>
<xs:enumeration value="wizard"/>
<xs:enumeration value="radiobutton"/>
<xs:enumeration value="schermknop"/>
<xs:enumeration value="space"/>
<xs:enumeration value="datumro"/>
<xs:enumeration value="picture"/>
<xs:enumeration value="tekst"/>
<xs:enumeration value="flexmemo"/>
<xs:enumeration value="timefloat"/>
<xs:enumeration value="combobox"/>
<xs:enumeration value="boolean10"/>
<xs:enumeration value="spinner"/>
<xs:enumeration value="datetime"/>
<xs:enumeration value="amountfloat"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
</code.xml>