summaryrefslogtreecommitdiffstats
path: root/Schemas/ConfigurableDomains.xsd
blob: 67e6b0f14fec4d30734a5269b19cab72a911bf2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:include schemaLocation="ConfigurableDomain.xsd"/>
	<xs:element name="ConfigurableDomains">
		<xs:complexType>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="ConfigurableDomain" type="ConfigurableDomainType">
					<xs:key name="ConfigurableElementKey">
						<xs:selector xpath="ConfigurableElements/ConfigurableElement"/>
						<xs:field xpath="@Path"/>
					</xs:key>
					<xs:keyref refer="ConfigurableElementKey" name="ConfigurableDomainReference">
						<xs:selector xpath="Settings/Configuration/ConfigurableElement"/>
						<xs:field xpath="@Path"/>
					</xs:keyref>
					<xs:key name="ConfigurationKey">
						<xs:selector xpath="Configurations/Configuration"/>
						<xs:field xpath="@Name"/>
					</xs:key>
					<xs:keyref refer="ConfigurationKey" name="ConfigurationReference2">
						<xs:selector xpath="ConfigurableElements/ConfigurableElement/Configuration"/>
						<xs:field xpath="@Name"/>
					</xs:keyref>
					<xs:keyref refer="ConfigurationKey" name="ConfigurationReference">
						<xs:selector xpath="Settings/Configuration"/>
						<xs:field xpath="@Name"/>
					</xs:keyref>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="SystemClassName" use="required" type="xs:NCName"/>
		</xs:complexType>
		<xs:unique name="ConfigurableDomainUniqueness">
			<xs:selector xpath="ConfigurableDomain"/>
			<xs:field xpath="@Name"/>
		</xs:unique>
	</xs:element>
</xs:schema>