forked from eXist-db/exist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontroller-config.xsd
24 lines (24 loc) · 1003 Bytes
/
controller-config.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://exist.sourceforge.net/NS/exist" xmlns:exist="http://exist.sourceforge.net/NS/exist">
<xs:element name="configuration">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="exist:forward"/>
<xs:element ref="exist:root"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="forward">
<xs:complexType>
<xs:attribute name="pattern" use="required" type="xs:string"/>
<xs:attribute name="servlet" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="root">
<xs:complexType>
<xs:attribute name="server-name" use="optional" type="xs:string"/>
<xs:attribute name="path" use="required" type="xs:anyURI"/>
<xs:attribute name="pattern" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:schema>