<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fox="http://www.og.dti.gov/fox" xmlns:input-types="http://www.og.dti.gov/fox" xmlns:fm="http://www.og.dti.gov/fox_module" xmlns:widget="http://www.og.dti.gov/fox" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" attributeFormDefault="unqualified" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
C:\pvcswork\Fox\source\altova_xmlspy\schema\fox_schema.xsd">
	<xs:import schemaLocation="C:\pvcswork\Fox\source\altova_xmlspy\schema\fox_import.xsd"/>
	<xs:annotation>
		<xs:appinfo>
			<fm:module>
				<fm:header>
					<fm:name>DEMO_INPUT_SELECTORS</fm:name>
					<fm:title>FOX Demo Input Selectors</fm:title>
					<fm:application-title>FOX Demo Input Selectors</fm:application-title>
					<fm:version-no>$Revision:   1.0  $</fm:version-no>
					<fm:version-desc/>
					<fm:history/>
					<fm:description/>
					<fm:build-notes/>
					<fm:help-text/>
				</fm:header>
				<fm:control>
					<fm:transaction-mode>read-committed</fm:transaction-mode>
					<fm:authentication>not-required</fm:authentication>
				</fm:control>
				<fm:security-list/>
				<fm:library-list>
					<fm:library>LAYOUT1</fm:library>
				</fm:library-list>
				<fm:storage-location-list>
					<fm:storage-location name="main">
						<fm:cache-key string="DEMO_INPUT_SELECTORS:1">
							<fm:using using-type="UNIQUE"/>
						</fm:cache-key>
						<fm:new-document>
							<fm:root-element>ROOT</fm:root-element>
						</fm:new-document>
					</fm:storage-location>
					<fm:storage-location name="mapset2">
						<fm:cache-key string="DEMO_INPUT_SELECTORS:1">
							<fm:using using-type="UNIQUE"/>
						</fm:cache-key>
						<fm:new-document>
							<fm:root-element>map-set-list</fm:root-element>
						</fm:new-document>
					</fm:storage-location>
				</fm:storage-location-list>
				<fm:entry-theme-list>
					<fm:entry-theme name="new">
						<fm:storage-location>main</fm:storage-location>
						<fm:state>state-main</fm:state>
						<fm:attach>/*</fm:attach>
						<fm:do>
							<fm:call action="action-initialise-demo"/>
						</fm:do>
					</fm:entry-theme>
				</fm:entry-theme-list>
				<fm:action-list>
					<fm:action name="action-initialise-demo">
						<fm:do>
							<fm:init target=":{theme}" for-schema="INPUT_TYPES/*"/>
						</fm:do>
					</fm:action>
				</fm:action-list>
				<fm:presentation/>
				<fm:state-list>
					<fm:state name="state-main">
						<fm:action-list/>
						<fm:presentation>
							<!-- Override buffers within LAYOUT1LIB to remove images -->
							<fm:set-buffer name="buffer-top-left-logo"/>
							<fm:set-buffer name="buffer-mid-left-logo"/>
							<!-- Override topNav and bottomNav to remove -->
							<fm:set-buffer name="buffer-topNav"/>
							<fm:set-buffer name="buffer-bottomNav"/>
							<fm:set-buffer name="buffer-inputTypes">
								<fm:set-out match=":{theme}/INPUT_TYPES" input-types:mode="." fox:debug="false"/>
							</fm:set-buffer>
							<fm:set-buffer name="buffer-content">
								<br/>
								<div class="setoutHeader">Input Selectors</div>
								<table>
									<tr>
										<td>
											<br/>
											<fm:include name="buffer-inputTypes"/>
										</td>
									</tr>
								</table>
								<br/>
							</fm:set-buffer>
						</fm:presentation>
					</fm:state>
				</fm:state-list>
				<fm:template-list>
					<fm:template name="tmpl-gender">
						<map-set>
							<rec>
								<key>Male</key>
								<data>M</data>
							</rec>
							<rec>
								<key>Female</key>
								<data>F</data>
							</rec>
						</map-set>
					</fm:template>
				</fm:template-list>
				<fm:map-set-list>
					<fm:map-set name="ms-gender">
						<fm:storage-location>mapset2</fm:storage-location>
						<fm:do>
							<fm:init target="." template="tmpl-gender"/>
						</fm:do>
						<fm:refresh-timeout-mins>0</fm:refresh-timeout-mins>
						<fm:refresh-in-background>false</fm:refresh-in-background>
					</fm:map-set>
				</fm:map-set-list>
			</fm:module>
		</xs:appinfo>
	</xs:annotation>
	<xs:element name="ROOT"/>
	<xs:element name="theme">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="INPUT_TYPES" input-types:ro=".">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="OPTION" input-types:edit="." fox:widget="selector">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="Yes"/>
										<xs:enumeration value="No"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="GENDER" fox:map-set="ms-gender" input-types:edit=".">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="6"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="TICKBOX" input-types:edit="." fox:widget="tickbox" fox:mand=".">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="Yes"/>
										<xs:enumeration value="No"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="RADIO" input-types:edit="." fox:widget="radio" fox:mand=".">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="Yes"/>
										<xs:enumeration value="No"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
