Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<GetRecords 
3
xmlns:csw="http://www.opengis.net/csw" 
4
xmlns:ogc="http://www.opengis.net/ogc" 
5
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance http://schemas.cubewerx.com/ogc/1.0.0/filter.xsd" 
6
xmlns:gml="http://www.opengis.net/gml" 
7
csw:schemaLocation="http://www.opengis.net/csw http://schemas.cubewerx.com/csw/2.0.0/CSW-discovery.xsd" 
8
ogc:schemaLocation="http://www.opengis.net/ogc" 
9
service="WRS" 
10
version="2.0.0" 
11
outputFormat="text/xml" 
12
startPosition="1" 
13
maxRecords="1000" 
14
resultType="RESULTS">
15
	<Query typeNames="ExtrinsicObject Association=ServiceAssociation Service">
16
		<ElementName>/ExtrinsicObject</ElementName>
17
		<ElementName>/Service</ElementName>
18
		<Constraint>
19
			<ogc:Filter>
20
				<ogc:And>
21
					<ogc:Or>
22
						<ogc:PropertyIsLike>
23
							<ogc:PropertyName>/ExtrinsicObject/@objectType</ogc:PropertyName>
24
							<ogc:Literal>FeatureType</ogc:Literal>
25
						</ogc:PropertyIsLike>
26
						<ogc:PropertyIsLike>
27
							<ogc:PropertyName>/ExtrinsicObject/@objectType</ogc:PropertyName>
28
							<ogc:Literal>WMS_Layer</ogc:Literal>
29
						</ogc:PropertyIsLike>
30
					</ogc:Or>
31
					<ogc:And>
32
						<ogc:PropertyIsEqualTo>
33
							<ogc:PropertyName>/ExtrinsicObject/@ID</ogc:PropertyName>
34
							<ogc:PropertyName>/ServiceAssociation/@targetObject</ogc:PropertyName>
35
						</ogc:PropertyIsEqualTo>
36
						<ogc:PropertyIsLike>
37
							<ogc:PropertyName>/ServiceAssociation/@associationType</ogc:PropertyName>
38
							<ogc:Literal>Serves</ogc:Literal>
39
						</ogc:PropertyIsLike>
40
						<ogc:PropertyIsEqualTo>
41
							<ogc:PropertyName>/Service/@ID</ogc:PropertyName>
42
							<ogc:PropertyName>/ServiceAssociation/@sourceObject</ogc:PropertyName>
43
						</ogc:PropertyIsEqualTo>
44
					</ogc:And>
45
				</ogc:And>
46
			</ogc:Filter>
47
		</Constraint>
48
	</Query>
49
</GetRecords>
(9-9/19)