-
Notifications
You must be signed in to change notification settings - Fork 7
/
collection.xconf
35 lines (28 loc) · 1.58 KB
/
collection.xconf
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
<collection xmlns="http://exist-db.org/collection-config/1.0">
<index xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sal="http://salamanca.adwmainz.de">
<fulltext default="none" attributes="false"/>
<range>
<!-- some TEI fields, relevant e.g. for TEI metadata files stored within the web app ... -->
<create qname="tei:div">
<field name="tei.div.n" match="@n" type="xs:string"/>
<field name="tei.div.type" match="@type" type="xs:string"/>
<field name="tei.div.xmlid" match="@xml:id" type="xs:string"/>
<field name="tei.div.id" match="@id" type="xs:string"/>
</create>
<create qname="tei:list">
<field name="tei.list.type" match="@type" type="xs:string"/>
</create>
<create qname="tei:ref">
<field name="tei.ref.target" match="@target" type="xs:string"/>
<field name="tei.ref.n" match="@n" type="xs:string"/>
<field name="tei.ref.type" match="@type" type="xs:string"/>
</create>
<create qname="msg">
<field name="key" match="@key" type="xs:string"/>
</create>
</range>
</index>
<triggers>
<trigger class="org.exist.extensions.exquery.restxq.impl.RestXqTrigger"/>
</triggers>
</collection>