comparison src/main/resources/own-value.cfg.xml.template @ 4:8ce07918ec8a

(none)
author jurzua
date Wed, 29 Oct 2014 13:30:55 +0000
parents
children
comparison
equal deleted inserted replaced
3:1e4835334837 4:8ce07918ec8a
1 <?xml version="1.0" encoding="UTF-8"?>
2 <own-value-configuration>
3 <own-value-rules>
4
5 <own-value-rule id="codex0">
6 <source-relation name="is_part_of" substring="false">
7 <target object-class="COLLECTION">
8 <attribute name="name" end-node="true"/>
9 </target>
10 </source-relation>
11 </own-value-rule>
12
13 <own-value-rule id="codex1">
14 <source-relation name="is_part_of" substring="false">
15 <target object-class="REPOSITORY">
16 <attribute name="name" end-node="true"/>
17 </target>
18 </source-relation>
19 </own-value-rule>
20
21 <own-value-rule id="codex2">
22 <xor>
23 <rule ref="codex0"/>
24 <rule ref="codex1"/>
25 <rule type="constant" value="empty"/>
26 </xor>
27 </own-value-rule>
28
29
30
31 </own-value-rules>
32
33 <print-rules>
34 <print-rule for="CODEX">
35 <formatstr value="%codex2%"/>
36 <entry own-value-rule="codex2"/>
37 </print-rule>
38 </print-rules>
39
40 </own-value-configuration>