diff --git a/hainhofer_2023-05-09.xpr b/hainhofer_2023-05-09.xpr
index a1d68a200d0923a3e3b848fa70f78b7233c17c13..bc1580166755bbb4becea8a9d41fdc648772529f 100644
--- a/hainhofer_2023-05-09.xpr
+++ b/hainhofer_2023-05-09.xpr
@@ -27413,7 +27413,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -27423,7 +27423,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -27449,7 +27449,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -27459,7 +27459,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -27557,7 +27557,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -27567,7 +27567,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -27593,7 +27593,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -27603,7 +27603,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -27655,7 +27655,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -27665,7 +27665,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -27691,7 +27691,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -27701,7 +27701,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -27811,7 +27811,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -27821,7 +27821,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -27847,7 +27847,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -27857,7 +27857,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28101,7 +28101,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28111,7 +28111,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28137,7 +28137,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28147,7 +28147,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28199,7 +28199,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28209,7 +28209,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28235,7 +28235,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28245,7 +28245,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28297,7 +28297,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28307,7 +28307,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28333,7 +28333,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28343,7 +28343,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28395,7 +28395,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28405,7 +28405,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28431,7 +28431,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28441,7 +28441,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28493,7 +28493,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28503,7 +28503,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28529,7 +28529,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28539,7 +28539,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28591,7 +28591,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28601,7 +28601,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28627,7 +28627,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28637,7 +28637,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28689,7 +28689,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28699,7 +28699,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28725,7 +28725,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28735,7 +28735,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28787,7 +28787,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28797,7 +28797,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28823,7 +28823,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28833,7 +28833,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28885,7 +28885,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28895,7 +28895,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28921,7 +28921,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28931,7 +28931,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -28983,7 +28983,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -28993,7 +28993,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29019,7 +29019,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29029,7 +29029,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29081,7 +29081,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29091,7 +29091,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29117,7 +29117,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29127,7 +29127,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29179,7 +29179,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29189,7 +29189,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29215,7 +29215,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29225,7 +29225,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29277,7 +29277,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29287,7 +29287,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29313,7 +29313,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29323,7 +29323,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29375,7 +29375,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29385,7 +29385,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29411,7 +29411,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29421,7 +29421,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29473,7 +29473,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29483,7 +29483,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29509,7 +29509,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29519,7 +29519,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29571,7 +29571,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29581,7 +29581,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29607,7 +29607,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29617,7 +29617,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29669,7 +29669,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29679,7 +29679,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29705,7 +29705,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29715,7 +29715,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29767,7 +29767,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29777,7 +29777,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29803,7 +29803,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29813,7 +29813,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29865,7 +29865,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29875,7 +29875,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29901,7 +29901,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29911,7 +29911,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29963,7 +29963,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -29973,7 +29973,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -29999,7 +29999,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -30009,7 +30009,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -30061,7 +30061,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -30071,7 +30071,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -30097,7 +30097,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -30107,7 +30107,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -30159,7 +30159,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -30169,7 +30169,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -30195,7 +30195,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -30205,7 +30205,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -30257,7 +30257,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -30267,7 +30267,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+" '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -30293,7 +30293,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -30303,7 +30303,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34299,7 +34299,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34309,7 +34309,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34335,7 +34335,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34345,7 +34345,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34397,7 +34397,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34407,7 +34407,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34433,7 +34433,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34443,7 +34443,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34495,7 +34495,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34505,7 +34505,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34531,7 +34531,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34541,7 +34541,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34593,7 +34593,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34603,7 +34603,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34629,7 +34629,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34639,7 +34639,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34691,7 +34691,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34701,7 +34701,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34727,7 +34727,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34737,7 +34737,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34789,7 +34789,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34799,7 +34799,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34825,7 +34825,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34835,7 +34835,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34887,7 +34887,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34897,7 +34897,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34923,7 +34923,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34933,7 +34933,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -34985,7 +34985,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -34995,7 +34995,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35021,7 +35021,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35031,7 +35031,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35083,7 +35083,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35093,7 +35093,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35119,7 +35119,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35129,7 +35129,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35181,7 +35181,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35191,7 +35191,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35217,7 +35217,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35227,7 +35227,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35279,7 +35279,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35289,7 +35289,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35315,7 +35315,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35325,7 +35325,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35377,7 +35377,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35387,7 +35387,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35413,7 +35413,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35423,7 +35423,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35475,7 +35475,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35485,7 +35485,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35511,7 +35511,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35521,7 +35521,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35573,7 +35573,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35583,7 +35583,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35609,7 +35609,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35619,7 +35619,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35671,7 +35671,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35681,7 +35681,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35707,7 +35707,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35717,7 +35717,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35769,7 +35769,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35779,7 +35779,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35805,7 +35805,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35815,7 +35815,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35867,7 +35867,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35877,7 +35877,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35903,7 +35903,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35913,7 +35913,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -35965,7 +35965,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -35975,7 +35975,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36001,7 +36001,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36011,7 +36011,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36063,7 +36063,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36073,7 +36073,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36099,7 +36099,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36109,7 +36109,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36161,7 +36161,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36171,7 +36171,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36197,7 +36197,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36207,7 +36207,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36259,7 +36259,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36269,7 +36269,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36295,7 +36295,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36305,7 +36305,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36357,7 +36357,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36367,7 +36367,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36393,7 +36393,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36403,7 +36403,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36455,7 +36455,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36465,7 +36465,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36491,7 +36491,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36501,7 +36501,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36553,7 +36553,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36563,7 +36563,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36589,7 +36589,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36599,7 +36599,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36651,7 +36651,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36661,7 +36661,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36687,7 +36687,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36697,7 +36697,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36749,7 +36749,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36759,7 +36759,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36785,7 +36785,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36795,7 +36795,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36847,7 +36847,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36857,7 +36857,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36883,7 +36883,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36893,7 +36893,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36945,7 +36945,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36955,7 +36955,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -36981,7 +36981,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -36991,7 +36991,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37043,7 +37043,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37053,7 +37053,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37079,7 +37079,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37089,7 +37089,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37141,7 +37141,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37151,7 +37151,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37177,7 +37177,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37187,7 +37187,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37239,7 +37239,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37249,7 +37249,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37275,7 +37275,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37285,7 +37285,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37337,7 +37337,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37347,7 +37347,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37373,7 +37373,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37383,7 +37383,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37435,7 +37435,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37445,7 +37445,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37471,7 +37471,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37481,7 +37481,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37533,7 +37533,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37543,7 +37543,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37569,7 +37569,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37579,7 +37579,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37631,7 +37631,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37641,7 +37641,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37667,7 +37667,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37677,7 +37677,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37729,7 +37729,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37739,7 +37739,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37765,7 +37765,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37775,7 +37775,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37827,7 +37827,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37837,7 +37837,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37863,7 +37863,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37873,7 +37873,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37925,7 +37925,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37935,7 +37935,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -37961,7 +37961,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -37971,7 +37971,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38023,7 +38023,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38033,7 +38033,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38059,7 +38059,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38069,7 +38069,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38121,7 +38121,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38131,7 +38131,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38157,7 +38157,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38167,7 +38167,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38219,7 +38219,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38229,7 +38229,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38255,7 +38255,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38265,7 +38265,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38317,7 +38317,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38327,7 +38327,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38353,7 +38353,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38363,7 +38363,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38415,7 +38415,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38425,7 +38425,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38451,7 +38451,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38461,7 +38461,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38513,7 +38513,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38523,7 +38523,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38549,7 +38549,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38559,7 +38559,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38611,7 +38611,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38621,7 +38621,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38647,7 +38647,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38657,7 +38657,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38709,7 +38709,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38719,7 +38719,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38745,7 +38745,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38755,7 +38755,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38807,7 +38807,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38817,7 +38817,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38843,7 +38843,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38853,7 +38853,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38905,7 +38905,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38915,7 +38915,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -38941,7 +38941,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -38951,7 +38951,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39003,7 +39003,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39013,7 +39013,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39039,7 +39039,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39049,7 +39049,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39101,7 +39101,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39111,7 +39111,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39137,7 +39137,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39147,7 +39147,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39199,7 +39199,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39209,7 +39209,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39235,7 +39235,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39245,7 +39245,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39297,7 +39297,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39307,7 +39307,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39333,7 +39333,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39343,7 +39343,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39395,7 +39395,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39405,7 +39405,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39431,7 +39431,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39441,7 +39441,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39493,7 +39493,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39503,7 +39503,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39529,7 +39529,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39539,7 +39539,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39591,7 +39591,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39601,7 +39601,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39627,7 +39627,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39637,7 +39637,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39689,7 +39689,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39699,7 +39699,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39725,7 +39725,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39735,7 +39735,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39787,7 +39787,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39797,7 +39797,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39823,7 +39823,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39833,7 +39833,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39885,7 +39885,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39895,7 +39895,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39921,7 +39921,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39931,7 +39931,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -39983,7 +39983,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -39993,7 +39993,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40019,7 +40019,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40029,7 +40029,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40081,7 +40081,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40091,7 +40091,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40117,7 +40117,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40127,7 +40127,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40179,7 +40179,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40189,7 +40189,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40215,7 +40215,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40225,7 +40225,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40277,7 +40277,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40287,7 +40287,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40313,7 +40313,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40323,7 +40323,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40375,7 +40375,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40385,7 +40385,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40411,7 +40411,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40421,7 +40421,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40473,7 +40473,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40483,7 +40483,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40509,7 +40509,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40519,7 +40519,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40571,7 +40571,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40581,7 +40581,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40607,7 +40607,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40617,7 +40617,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40669,7 +40669,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40679,7 +40679,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40705,7 +40705,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40715,7 +40715,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40767,7 +40767,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40777,7 +40777,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40803,7 +40803,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40813,7 +40813,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40865,7 +40865,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40875,7 +40875,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40901,7 +40901,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40911,7 +40911,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40963,7 +40963,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -40973,7 +40973,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -40999,7 +40999,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -41009,7 +41009,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P74_has_current_or_former_residence' target='#${xpath_eval(ancestor-or-self::org/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42395,7 +42395,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42405,7 +42405,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42431,7 +42431,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42441,7 +42441,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42493,7 +42493,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42503,7 +42503,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42529,7 +42529,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42539,7 +42539,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42591,7 +42591,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42601,7 +42601,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42627,7 +42627,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42637,7 +42637,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42689,7 +42689,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42699,7 +42699,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42725,7 +42725,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42735,7 +42735,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42787,7 +42787,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42797,7 +42797,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42823,7 +42823,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42833,7 +42833,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42885,7 +42885,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42895,7 +42895,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42921,7 +42921,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42931,7 +42931,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -42983,7 +42983,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -42993,7 +42993,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43019,7 +43019,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43029,7 +43029,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43081,7 +43081,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43091,7 +43091,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43117,7 +43117,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43127,7 +43127,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43179,7 +43179,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43189,7 +43189,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43215,7 +43215,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43225,7 +43225,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43277,7 +43277,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43287,7 +43287,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43313,7 +43313,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43323,7 +43323,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43375,7 +43375,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43385,7 +43385,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43411,7 +43411,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43421,7 +43421,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43473,7 +43473,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43483,7 +43483,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43509,7 +43509,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43519,7 +43519,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43571,7 +43571,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43581,7 +43581,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43607,7 +43607,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43617,7 +43617,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43669,7 +43669,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43679,7 +43679,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43705,7 +43705,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43715,7 +43715,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43767,7 +43767,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43777,7 +43777,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43803,7 +43803,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43813,7 +43813,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43865,7 +43865,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43875,7 +43875,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43901,7 +43901,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43911,7 +43911,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43963,7 +43963,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -43973,7 +43973,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -43999,7 +43999,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44009,7 +44009,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44061,7 +44061,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44071,7 +44071,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44097,7 +44097,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44107,7 +44107,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44159,7 +44159,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44169,7 +44169,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44195,7 +44195,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44205,7 +44205,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44257,7 +44257,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44267,7 +44267,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44293,7 +44293,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44303,7 +44303,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44355,7 +44355,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44365,7 +44365,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44391,7 +44391,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44401,7 +44401,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44453,7 +44453,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44463,7 +44463,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44489,7 +44489,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44499,7 +44499,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44551,7 +44551,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44561,7 +44561,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -44587,7 +44587,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::org/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::org/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -44597,7 +44597,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::org/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::org/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -48852,7 +48852,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -48862,7 +48862,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -48888,7 +48888,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -48898,7 +48898,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -49582,7 +49582,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -49592,7 +49592,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -49618,7 +49618,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -49628,7 +49628,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -49780,7 +49780,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -49790,7 +49790,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -49816,7 +49816,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -49826,7 +49826,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54026,7 +54026,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54036,7 +54036,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54062,7 +54062,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54072,7 +54072,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54124,7 +54124,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54134,7 +54134,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54160,7 +54160,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54170,7 +54170,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54222,7 +54222,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54232,7 +54232,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54258,7 +54258,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54268,7 +54268,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54320,7 +54320,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54330,7 +54330,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54356,7 +54356,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54366,7 +54366,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54418,7 +54418,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54428,7 +54428,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54454,7 +54454,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54464,7 +54464,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54516,7 +54516,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54526,7 +54526,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54552,7 +54552,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54562,7 +54562,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54614,7 +54614,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54624,7 +54624,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54650,7 +54650,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54660,7 +54660,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54712,7 +54712,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54722,7 +54722,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54748,7 +54748,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54758,7 +54758,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54810,7 +54810,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54820,7 +54820,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54846,7 +54846,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54856,7 +54856,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54908,7 +54908,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54918,7 +54918,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -54944,7 +54944,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -54954,7 +54954,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55006,7 +55006,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55016,7 +55016,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55042,7 +55042,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55052,7 +55052,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55104,7 +55104,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55114,7 +55114,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55140,7 +55140,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55150,7 +55150,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55202,7 +55202,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55212,7 +55212,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55238,7 +55238,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55248,7 +55248,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55300,7 +55300,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55310,7 +55310,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55336,7 +55336,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55346,7 +55346,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55398,7 +55398,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55408,7 +55408,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55434,7 +55434,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55444,7 +55444,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55496,7 +55496,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55506,7 +55506,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55532,7 +55532,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55542,7 +55542,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55594,7 +55594,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55604,7 +55604,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55630,7 +55630,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55640,7 +55640,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55692,7 +55692,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55702,7 +55702,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55728,7 +55728,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55738,7 +55738,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55790,7 +55790,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55800,7 +55800,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55826,7 +55826,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55836,7 +55836,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55888,7 +55888,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55898,7 +55898,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55924,7 +55924,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55934,7 +55934,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -55986,7 +55986,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -55996,7 +55996,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56022,7 +56022,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56032,7 +56032,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56084,7 +56084,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56094,7 +56094,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56120,7 +56120,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56130,7 +56130,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56182,7 +56182,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56192,7 +56192,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56218,7 +56218,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56228,7 +56228,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56280,7 +56280,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56290,7 +56290,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56316,7 +56316,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56326,7 +56326,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56378,7 +56378,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56388,7 +56388,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56414,7 +56414,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56424,7 +56424,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56476,7 +56476,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56486,7 +56486,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56512,7 +56512,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56522,7 +56522,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56574,7 +56574,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56584,7 +56584,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56610,7 +56610,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56620,7 +56620,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56672,7 +56672,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56682,7 +56682,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56708,7 +56708,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56718,7 +56718,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56770,7 +56770,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56780,7 +56780,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56806,7 +56806,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56816,7 +56816,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56868,7 +56868,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56878,7 +56878,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56904,7 +56904,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56914,7 +56914,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -56966,7 +56966,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -56976,7 +56976,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57002,7 +57002,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57012,7 +57012,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57064,7 +57064,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57074,7 +57074,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57100,7 +57100,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57110,7 +57110,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57162,7 +57162,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57172,7 +57172,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57198,7 +57198,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57208,7 +57208,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57260,7 +57260,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57270,7 +57270,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57296,7 +57296,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57306,7 +57306,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57358,7 +57358,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57368,7 +57368,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57394,7 +57394,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57404,7 +57404,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57456,7 +57456,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57466,7 +57466,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57492,7 +57492,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57502,7 +57502,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57554,7 +57554,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57564,7 +57564,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57590,7 +57590,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57600,7 +57600,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57652,7 +57652,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57662,7 +57662,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57688,7 +57688,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57698,7 +57698,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57750,7 +57750,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57760,7 +57760,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57786,7 +57786,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57796,7 +57796,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57848,7 +57848,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57858,7 +57858,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57884,7 +57884,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57894,7 +57894,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57946,7 +57946,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57956,7 +57956,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -57982,7 +57982,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -57992,7 +57992,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58044,7 +58044,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58054,7 +58054,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58080,7 +58080,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58090,7 +58090,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58142,7 +58142,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58152,7 +58152,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58178,7 +58178,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58188,7 +58188,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58240,7 +58240,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58250,7 +58250,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58276,7 +58276,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58286,7 +58286,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58338,7 +58338,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58348,7 +58348,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58374,7 +58374,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58384,7 +58384,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} wrk:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58436,7 +58436,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58446,7 +58446,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58472,7 +58472,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58482,7 +58482,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58534,7 +58534,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58544,7 +58544,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58570,7 +58570,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58580,7 +58580,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58632,7 +58632,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58642,7 +58642,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58668,7 +58668,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58678,7 +58678,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58730,7 +58730,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58740,7 +58740,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58766,7 +58766,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58776,7 +58776,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58828,7 +58828,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58838,7 +58838,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58864,7 +58864,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58874,7 +58874,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58926,7 +58926,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58936,7 +58936,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -58962,7 +58962,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -58972,7 +58972,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59024,7 +59024,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59034,7 +59034,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59060,7 +59060,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59070,7 +59070,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59122,7 +59122,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59132,7 +59132,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59158,7 +59158,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59168,7 +59168,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59220,7 +59220,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59230,7 +59230,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59256,7 +59256,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59266,7 +59266,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59318,7 +59318,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59328,7 +59328,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59354,7 +59354,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59364,7 +59364,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59416,7 +59416,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59426,7 +59426,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59452,7 +59452,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59462,7 +59462,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59514,7 +59514,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59524,7 +59524,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59550,7 +59550,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59560,7 +59560,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59612,7 +59612,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59622,7 +59622,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59648,7 +59648,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59658,7 +59658,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59710,7 +59710,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59720,7 +59720,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59746,7 +59746,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59756,7 +59756,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59808,7 +59808,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59818,7 +59818,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59844,7 +59844,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59854,7 +59854,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59906,7 +59906,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59916,7 +59916,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -59942,7 +59942,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -59952,7 +59952,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60004,7 +60004,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60014,7 +60014,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60040,7 +60040,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60050,7 +60050,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60102,7 +60102,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60112,7 +60112,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60138,7 +60138,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60148,7 +60148,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60200,7 +60200,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60210,7 +60210,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60236,7 +60236,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60246,7 +60246,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60298,7 +60298,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60308,7 +60308,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60334,7 +60334,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60344,7 +60344,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60396,7 +60396,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60406,7 +60406,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60432,7 +60432,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60442,7 +60442,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60494,7 +60494,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60504,7 +60504,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60530,7 +60530,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60540,7 +60540,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60592,7 +60592,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60602,7 +60602,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60628,7 +60628,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60638,7 +60638,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::place/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::place/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60690,7 +60690,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60700,7 +60700,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60726,7 +60726,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60736,7 +60736,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60788,7 +60788,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60798,7 +60798,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60824,7 +60824,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60834,7 +60834,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60886,7 +60886,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60896,7 +60896,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60922,7 +60922,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60932,7 +60932,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -60984,7 +60984,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -60994,7 +60994,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61020,7 +61020,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61030,7 +61030,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61082,7 +61082,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61092,7 +61092,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61118,7 +61118,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61128,7 +61128,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61180,7 +61180,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61190,7 +61190,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61216,7 +61216,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61226,7 +61226,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61278,7 +61278,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61288,7 +61288,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61314,7 +61314,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61324,7 +61324,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61376,7 +61376,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61386,7 +61386,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61412,7 +61412,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61422,7 +61422,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61474,7 +61474,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61484,7 +61484,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61510,7 +61510,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61520,7 +61520,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61572,7 +61572,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61582,7 +61582,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61608,7 +61608,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61618,7 +61618,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61670,7 +61670,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61680,7 +61680,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61706,7 +61706,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61716,7 +61716,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61768,7 +61768,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61778,7 +61778,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61804,7 +61804,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61814,7 +61814,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61866,7 +61866,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61876,7 +61876,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61902,7 +61902,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61912,7 +61912,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -61964,7 +61964,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -61974,7 +61974,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62000,7 +62000,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62010,7 +62010,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62062,7 +62062,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62072,7 +62072,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62098,7 +62098,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62108,7 +62108,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62160,7 +62160,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62170,7 +62170,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62196,7 +62196,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62206,7 +62206,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62258,7 +62258,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62268,7 +62268,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62294,7 +62294,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62304,7 +62304,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62356,7 +62356,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62366,7 +62366,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62392,7 +62392,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62402,7 +62402,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62454,7 +62454,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62464,7 +62464,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62490,7 +62490,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62500,7 +62500,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62552,7 +62552,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62562,7 +62562,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62588,7 +62588,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62598,7 +62598,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62650,7 +62650,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62660,7 +62660,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62686,7 +62686,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62696,7 +62696,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62748,7 +62748,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62758,7 +62758,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62784,7 +62784,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62794,7 +62794,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62846,7 +62846,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62856,7 +62856,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62882,7 +62882,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62892,7 +62892,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89_falls_within' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62944,7 +62944,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62954,7 +62954,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -62980,7 +62980,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -62990,7 +62990,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63042,7 +63042,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63052,7 +63052,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63078,7 +63078,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63088,7 +63088,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63140,7 +63140,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63150,7 +63150,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63176,7 +63176,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63186,7 +63186,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63238,7 +63238,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63248,7 +63248,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63274,7 +63274,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63284,7 +63284,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63336,7 +63336,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63346,7 +63346,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63372,7 +63372,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63382,7 +63382,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63434,7 +63434,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63444,7 +63444,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63470,7 +63470,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63480,7 +63480,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63532,7 +63532,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63542,7 +63542,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63568,7 +63568,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63578,7 +63578,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63630,7 +63630,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63640,7 +63640,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63666,7 +63666,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63676,7 +63676,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63728,7 +63728,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63738,7 +63738,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63764,7 +63764,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63774,7 +63774,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63826,7 +63826,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63836,7 +63836,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63862,7 +63862,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63872,7 +63872,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63924,7 +63924,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63934,7 +63934,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -63960,7 +63960,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -63970,7 +63970,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64022,7 +64022,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64032,7 +64032,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64058,7 +64058,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64068,7 +64068,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64120,7 +64120,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64130,7 +64130,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64156,7 +64156,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64166,7 +64166,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64218,7 +64218,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64228,7 +64228,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64254,7 +64254,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64264,7 +64264,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64316,7 +64316,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64326,7 +64326,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64352,7 +64352,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64362,7 +64362,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64414,7 +64414,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64424,7 +64424,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64450,7 +64450,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64460,7 +64460,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64512,7 +64512,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64522,7 +64522,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64548,7 +64548,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64558,7 +64558,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64610,7 +64610,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64620,7 +64620,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64646,7 +64646,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64656,7 +64656,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64708,7 +64708,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64718,7 +64718,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64744,7 +64744,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64754,7 +64754,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64806,7 +64806,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64816,7 +64816,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64842,7 +64842,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64852,7 +64852,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64904,7 +64904,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64914,7 +64914,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -64940,7 +64940,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -64950,7 +64950,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -65002,7 +65002,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -65012,7 +65012,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -65038,7 +65038,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -65048,7 +65048,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -65100,7 +65100,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -65110,7 +65110,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -65136,7 +65136,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::place/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::place/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -65146,7 +65146,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::place/@xml:id)} #"+@xml:id + "'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::place/@xml:id)} #"+@xml:id + "'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -71214,7 +71214,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -71224,7 +71224,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -71232,7 +71232,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -71250,7 +71250,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -71260,7 +71260,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -71552,7 +71552,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -71570,7 +71570,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -71588,7 +71588,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -71598,7 +71598,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72098,7 +72098,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72108,7 +72108,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72116,7 +72116,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -72134,7 +72134,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72144,7 +72144,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72474,7 +72474,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72484,7 +72484,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72492,7 +72492,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -72510,7 +72510,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72520,7 +72520,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72572,7 +72572,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72582,7 +72582,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72590,7 +72590,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -72608,7 +72608,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72618,7 +72618,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72670,7 +72670,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72680,7 +72680,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72688,7 +72688,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -72706,7 +72706,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72716,7 +72716,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72768,7 +72768,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72778,7 +72778,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72786,7 +72786,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -72804,7 +72804,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72814,7 +72814,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72866,7 +72866,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72876,7 +72876,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72884,7 +72884,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -72902,7 +72902,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72912,7 +72912,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72964,7 +72964,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -72974,7 +72974,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -72982,7 +72982,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73000,7 +73000,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73010,7 +73010,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73062,7 +73062,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73072,7 +73072,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73080,7 +73080,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73098,7 +73098,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73108,7 +73108,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73160,7 +73160,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73170,7 +73170,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73178,7 +73178,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73196,7 +73196,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73206,7 +73206,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73258,7 +73258,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73268,7 +73268,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73276,7 +73276,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73294,7 +73294,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73304,7 +73304,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73356,7 +73356,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73366,7 +73366,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73374,7 +73374,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73392,7 +73392,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73402,7 +73402,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73454,7 +73454,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73464,7 +73464,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73472,7 +73472,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73490,7 +73490,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73500,7 +73500,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73552,7 +73552,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73562,7 +73562,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73570,7 +73570,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73588,7 +73588,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73598,7 +73598,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73650,7 +73650,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73660,7 +73660,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73668,7 +73668,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73686,7 +73686,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73696,7 +73696,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73748,7 +73748,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73758,7 +73758,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73766,7 +73766,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73784,7 +73784,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73794,7 +73794,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73846,7 +73846,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73856,7 +73856,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73864,7 +73864,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73882,7 +73882,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73892,7 +73892,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73944,7 +73944,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73954,7 +73954,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -73962,7 +73962,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -73980,7 +73980,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -73990,7 +73990,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74042,7 +74042,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74052,7 +74052,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74060,7 +74060,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -74078,7 +74078,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74088,7 +74088,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74140,7 +74140,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74150,7 +74150,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74158,7 +74158,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -74176,7 +74176,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74186,7 +74186,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74238,7 +74238,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74248,7 +74248,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74256,7 +74256,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -74274,7 +74274,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74284,7 +74284,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74336,7 +74336,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74346,7 +74346,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74354,7 +74354,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -74372,7 +74372,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74382,7 +74382,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74434,7 +74434,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74444,7 +74444,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74452,7 +74452,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -74470,7 +74470,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74480,7 +74480,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74532,7 +74532,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74542,7 +74542,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74550,7 +74550,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -74568,7 +74568,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74578,7 +74578,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74630,7 +74630,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74640,7 +74640,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74648,7 +74648,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -74666,7 +74666,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74676,7 +74676,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74728,7 +74728,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74738,7 +74738,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -74746,7 +74746,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -74764,7 +74764,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -74774,7 +74774,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='org:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -77378,7 +77378,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -77388,7 +77388,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -77414,7 +77414,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -77424,7 +77424,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -78856,7 +78856,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -78866,7 +78866,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -78892,7 +78892,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -78902,7 +78902,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -78954,7 +78954,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -78964,7 +78964,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -78990,7 +78990,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79000,7 +79000,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79052,7 +79052,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79062,7 +79062,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79088,7 +79088,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79098,7 +79098,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79150,7 +79150,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79160,7 +79160,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79186,7 +79186,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79196,7 +79196,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79248,7 +79248,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79258,7 +79258,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79284,7 +79284,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79294,7 +79294,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79346,7 +79346,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79356,7 +79356,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79382,7 +79382,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79392,7 +79392,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79444,7 +79444,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79454,7 +79454,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79480,7 +79480,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79490,7 +79490,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79542,7 +79542,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79552,7 +79552,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79578,7 +79578,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79588,7 +79588,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79640,7 +79640,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79650,7 +79650,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79676,7 +79676,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79686,7 +79686,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79738,7 +79738,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79748,7 +79748,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79774,7 +79774,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79784,7 +79784,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79836,7 +79836,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79846,7 +79846,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79872,7 +79872,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79882,7 +79882,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79934,7 +79934,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79944,7 +79944,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -79970,7 +79970,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -79980,7 +79980,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80032,7 +80032,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80042,7 +80042,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80068,7 +80068,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80078,7 +80078,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80130,7 +80130,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80140,7 +80140,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80166,7 +80166,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80176,7 +80176,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80228,7 +80228,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80238,7 +80238,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80264,7 +80264,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80274,7 +80274,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80326,7 +80326,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80336,7 +80336,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80362,7 +80362,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80372,7 +80372,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80424,7 +80424,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80434,7 +80434,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80460,7 +80460,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80470,7 +80470,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80522,7 +80522,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80532,7 +80532,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80558,7 +80558,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80568,7 +80568,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80620,7 +80620,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80630,7 +80630,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80656,7 +80656,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80666,7 +80666,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80718,7 +80718,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80728,7 +80728,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80754,7 +80754,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80764,7 +80764,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80816,7 +80816,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80826,7 +80826,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80852,7 +80852,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80862,7 +80862,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80914,7 +80914,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80924,7 +80924,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -80950,7 +80950,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -80960,7 +80960,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81012,7 +81012,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81022,7 +81022,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81048,7 +81048,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81058,7 +81058,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81110,7 +81110,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81120,7 +81120,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81146,7 +81146,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81156,7 +81156,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81208,7 +81208,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81218,7 +81218,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81244,7 +81244,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81254,7 +81254,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81306,7 +81306,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81316,7 +81316,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81342,7 +81342,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81352,7 +81352,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81404,7 +81404,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81414,7 +81414,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81440,7 +81440,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81450,7 +81450,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81502,7 +81502,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81512,7 +81512,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81538,7 +81538,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81548,7 +81548,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81600,7 +81600,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81610,7 +81610,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81636,7 +81636,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81646,7 +81646,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81698,7 +81698,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81708,7 +81708,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81734,7 +81734,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81744,7 +81744,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81796,7 +81796,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81806,7 +81806,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81832,7 +81832,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81842,7 +81842,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81894,7 +81894,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81904,7 +81904,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81930,7 +81930,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -81940,7 +81940,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -81992,7 +81992,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82002,7 +82002,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82028,7 +82028,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82038,7 +82038,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82090,7 +82090,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82100,7 +82100,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82126,7 +82126,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82136,7 +82136,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82188,7 +82188,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82198,7 +82198,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82224,7 +82224,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82234,7 +82234,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82286,7 +82286,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82296,7 +82296,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82322,7 +82322,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82332,7 +82332,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82384,7 +82384,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82394,7 +82394,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82420,7 +82420,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82430,7 +82430,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82482,7 +82482,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82492,7 +82492,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82518,7 +82518,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82528,7 +82528,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82580,7 +82580,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82590,7 +82590,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82616,7 +82616,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82626,7 +82626,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82678,7 +82678,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82688,7 +82688,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82714,7 +82714,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82724,7 +82724,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82776,7 +82776,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82786,7 +82786,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82812,7 +82812,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82822,7 +82822,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82874,7 +82874,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82884,7 +82884,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82910,7 +82910,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82920,7 +82920,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -82972,7 +82972,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -82982,7 +82982,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83008,7 +83008,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83018,7 +83018,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83070,7 +83070,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83080,7 +83080,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83106,7 +83106,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83116,7 +83116,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83168,7 +83168,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83178,7 +83178,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83204,7 +83204,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83214,7 +83214,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83266,7 +83266,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83276,7 +83276,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83302,7 +83302,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83312,7 +83312,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83364,7 +83364,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83374,7 +83374,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83400,7 +83400,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83410,7 +83410,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83462,7 +83462,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83472,7 +83472,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83498,7 +83498,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83508,7 +83508,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83560,7 +83560,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83570,7 +83570,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83596,7 +83596,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83606,7 +83606,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83658,7 +83658,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83668,7 +83668,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83694,7 +83694,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83704,7 +83704,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83756,7 +83756,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83766,7 +83766,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83792,7 +83792,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83802,7 +83802,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83854,7 +83854,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83864,7 +83864,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83890,7 +83890,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83900,7 +83900,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83952,7 +83952,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83962,7 +83962,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -83988,7 +83988,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -83998,7 +83998,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84050,7 +84050,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84060,7 +84060,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84086,7 +84086,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84096,7 +84096,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84148,7 +84148,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84158,7 +84158,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84184,7 +84184,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84194,7 +84194,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84246,7 +84246,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84256,7 +84256,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84282,7 +84282,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84292,7 +84292,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84344,7 +84344,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84354,7 +84354,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84380,7 +84380,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84390,7 +84390,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84442,7 +84442,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84452,7 +84452,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84478,7 +84478,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84488,7 +84488,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84540,7 +84540,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84550,7 +84550,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84576,7 +84576,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84586,7 +84586,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84638,7 +84638,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84648,7 +84648,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84674,7 +84674,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84684,7 +84684,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84736,7 +84736,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84746,7 +84746,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84772,7 +84772,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84782,7 +84782,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84834,7 +84834,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84844,7 +84844,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84870,7 +84870,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84880,7 +84880,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84932,7 +84932,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84942,7 +84942,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -84968,7 +84968,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -84978,7 +84978,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85030,7 +85030,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85040,7 +85040,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85066,7 +85066,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85076,7 +85076,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85128,7 +85128,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85138,7 +85138,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85164,7 +85164,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85174,7 +85174,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85226,7 +85226,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85236,7 +85236,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85262,7 +85262,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85272,7 +85272,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85324,7 +85324,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85334,7 +85334,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85360,7 +85360,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85370,7 +85370,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85422,7 +85422,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85432,7 +85432,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)} '/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)} '/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -85458,7 +85458,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -85468,7 +85468,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='wrk:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -86912,7 +86912,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -86930,7 +86930,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -86948,7 +86948,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -86958,7 +86958,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87010,7 +87010,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87028,7 +87028,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87046,7 +87046,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87056,7 +87056,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87108,7 +87108,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87126,7 +87126,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87144,7 +87144,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87154,7 +87154,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87206,7 +87206,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87224,7 +87224,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87242,7 +87242,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87252,7 +87252,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87304,7 +87304,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87322,7 +87322,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87340,7 +87340,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87350,7 +87350,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87402,7 +87402,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87420,7 +87420,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87438,7 +87438,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87448,7 +87448,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87500,7 +87500,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87518,7 +87518,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87536,7 +87536,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87546,7 +87546,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87598,7 +87598,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87616,7 +87616,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87634,7 +87634,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87644,7 +87644,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87696,7 +87696,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87714,7 +87714,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87732,7 +87732,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87742,7 +87742,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87794,7 +87794,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87812,7 +87812,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87830,7 +87830,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87840,7 +87840,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87892,7 +87892,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87910,7 +87910,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -87928,7 +87928,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -87938,7 +87938,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -87990,7 +87990,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88008,7 +88008,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88026,7 +88026,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88036,7 +88036,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88088,7 +88088,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88106,7 +88106,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88124,7 +88124,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88134,7 +88134,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88186,7 +88186,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88204,7 +88204,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88222,7 +88222,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88232,7 +88232,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88284,7 +88284,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88302,7 +88302,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88320,7 +88320,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88330,7 +88330,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88382,7 +88382,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88400,7 +88400,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88418,7 +88418,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88428,7 +88428,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88480,7 +88480,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88498,7 +88498,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88516,7 +88516,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88526,7 +88526,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88578,7 +88578,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88596,7 +88596,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88614,7 +88614,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88624,7 +88624,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88676,7 +88676,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88694,7 +88694,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88712,7 +88712,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88722,7 +88722,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88774,7 +88774,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88792,7 +88792,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88810,7 +88810,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88820,7 +88820,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88872,7 +88872,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88890,7 +88890,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -88908,7 +88908,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88918,7 +88918,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -88970,7 +88970,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -88988,7 +88988,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89006,7 +89006,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89016,7 +89016,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89068,7 +89068,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>ancestor::personGrp[count(linkGrp) = 0]</String>
+                                                                    <String>ancestor-or-self::personGrp[count(linkGrp) = 0]</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89086,7 +89086,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::personGrp/listBibl[@subtype="auto"]</String>
+                                                                            <String>ancestor-or-self::personGrp/listBibl[@subtype="auto"]</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89104,7 +89104,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::personGrp/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::personGrp/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89114,7 +89114,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P107_has_current_or_former_member' target='#${xpath_eval(ancestor-or-self::personGrp/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89166,7 +89166,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89176,7 +89176,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89184,7 +89184,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89202,7 +89202,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89212,7 +89212,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89264,7 +89264,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89274,7 +89274,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89282,7 +89282,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89300,7 +89300,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89310,7 +89310,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89362,7 +89362,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89372,7 +89372,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89380,7 +89380,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89398,7 +89398,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89408,7 +89408,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89460,7 +89460,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89470,7 +89470,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89478,7 +89478,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89496,7 +89496,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89506,7 +89506,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89558,7 +89558,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89568,7 +89568,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89576,7 +89576,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89594,7 +89594,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89604,7 +89604,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89656,7 +89656,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89666,7 +89666,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89674,7 +89674,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89692,7 +89692,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89702,7 +89702,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89754,7 +89754,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89764,7 +89764,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89772,7 +89772,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89790,7 +89790,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89800,7 +89800,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89852,7 +89852,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89862,7 +89862,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89870,7 +89870,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89888,7 +89888,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89898,7 +89898,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89950,7 +89950,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89960,7 +89960,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -89968,7 +89968,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -89986,7 +89986,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -89996,7 +89996,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90048,7 +90048,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90058,7 +90058,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90066,7 +90066,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90084,7 +90084,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90094,7 +90094,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90146,7 +90146,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90156,7 +90156,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90164,7 +90164,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90182,7 +90182,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90192,7 +90192,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90244,7 +90244,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90254,7 +90254,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90262,7 +90262,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90280,7 +90280,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90290,7 +90290,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90342,7 +90342,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90352,7 +90352,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90360,7 +90360,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90378,7 +90378,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90388,7 +90388,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90440,7 +90440,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90450,7 +90450,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90458,7 +90458,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90476,7 +90476,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90486,7 +90486,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90538,7 +90538,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90548,7 +90548,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90556,7 +90556,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90574,7 +90574,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90584,7 +90584,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90636,7 +90636,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90646,7 +90646,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90654,7 +90654,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90672,7 +90672,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90682,7 +90682,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90734,7 +90734,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90744,7 +90744,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90752,7 +90752,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90770,7 +90770,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90780,7 +90780,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90832,7 +90832,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90842,7 +90842,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90850,7 +90850,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90868,7 +90868,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90878,7 +90878,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90930,7 +90930,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90940,7 +90940,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -90948,7 +90948,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -90966,7 +90966,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -90976,7 +90976,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -91028,7 +91028,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -91038,7 +91038,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -91046,7 +91046,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -91064,7 +91064,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -91074,7 +91074,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -91126,7 +91126,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -91136,7 +91136,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -91144,7 +91144,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -91162,7 +91162,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -91172,7 +91172,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -91224,7 +91224,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -91234,7 +91234,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -91242,7 +91242,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -91260,7 +91260,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -91270,7 +91270,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -91322,7 +91322,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -91332,7 +91332,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -91340,7 +91340,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertLocation</String>
-                                                                            <String>ancestor::person/*[local-name()='faith']</String>
+                                                                            <String>ancestor-or-self::person/*[local-name()='faith']</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>insertPosition</String>
@@ -91358,7 +91358,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::person/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::person/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -91368,7 +91368,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor::person/@xml:id)}'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='lit:"+@xml:id+" #${xpath_eval(ancestor-or-self::person/@xml:id)}'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -222913,7 +222913,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -222923,7 +222923,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -222949,7 +222949,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -222959,7 +222959,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223011,7 +223011,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223021,7 +223021,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223047,7 +223047,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223057,7 +223057,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223109,7 +223109,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223119,7 +223119,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223145,7 +223145,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223155,7 +223155,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223207,7 +223207,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223217,7 +223217,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223243,7 +223243,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223253,7 +223253,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223305,7 +223305,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223315,7 +223315,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223341,7 +223341,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223351,7 +223351,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223403,7 +223403,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223413,7 +223413,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223439,7 +223439,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223449,7 +223449,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223501,7 +223501,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223511,7 +223511,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223537,7 +223537,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223547,7 +223547,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223599,7 +223599,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223609,7 +223609,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223635,7 +223635,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223645,7 +223645,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223697,7 +223697,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223707,7 +223707,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223733,7 +223733,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223743,7 +223743,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223795,7 +223795,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223805,7 +223805,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223831,7 +223831,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223841,7 +223841,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223893,7 +223893,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223903,7 +223903,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223929,7 +223929,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -223939,7 +223939,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -223991,7 +223991,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224001,7 +224001,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224027,7 +224027,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224037,7 +224037,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224089,7 +224089,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224099,7 +224099,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224125,7 +224125,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224135,7 +224135,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224187,7 +224187,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224197,7 +224197,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224223,7 +224223,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224233,7 +224233,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224285,7 +224285,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224295,7 +224295,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224321,7 +224321,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224331,7 +224331,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224383,7 +224383,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224393,7 +224393,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224419,7 +224419,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224429,7 +224429,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224481,7 +224481,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224491,7 +224491,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224517,7 +224517,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224527,7 +224527,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224579,7 +224579,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224589,7 +224589,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224615,7 +224615,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224625,7 +224625,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224677,7 +224677,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224687,7 +224687,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224713,7 +224713,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224723,7 +224723,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224775,7 +224775,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224785,7 +224785,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224811,7 +224811,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224821,7 +224821,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224873,7 +224873,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224883,7 +224883,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224909,7 +224909,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224919,7 +224919,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -224971,7 +224971,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -224981,7 +224981,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225007,7 +225007,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225017,7 +225017,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225069,7 +225069,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225079,7 +225079,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225105,7 +225105,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225115,7 +225115,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} org:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} org:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225213,7 +225213,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225223,7 +225223,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225249,7 +225249,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225259,7 +225259,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225311,7 +225311,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225321,7 +225321,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225347,7 +225347,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225357,7 +225357,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225409,7 +225409,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225419,7 +225419,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225445,7 +225445,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225455,7 +225455,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225507,7 +225507,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225517,7 +225517,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225543,7 +225543,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225553,7 +225553,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225605,7 +225605,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225615,7 +225615,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225641,7 +225641,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225651,7 +225651,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225703,7 +225703,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225713,7 +225713,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225739,7 +225739,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225749,7 +225749,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225801,7 +225801,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225811,7 +225811,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225837,7 +225837,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225847,7 +225847,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225899,7 +225899,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225909,7 +225909,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225935,7 +225935,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -225945,7 +225945,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -225997,7 +225997,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226007,7 +226007,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226033,7 +226033,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226043,7 +226043,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226095,7 +226095,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226105,7 +226105,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226131,7 +226131,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226141,7 +226141,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226193,7 +226193,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226203,7 +226203,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226229,7 +226229,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226239,7 +226239,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226291,7 +226291,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226301,7 +226301,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226327,7 +226327,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226337,7 +226337,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226389,7 +226389,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226399,7 +226399,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226425,7 +226425,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226435,7 +226435,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226487,7 +226487,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226497,7 +226497,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226523,7 +226523,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226533,7 +226533,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226585,7 +226585,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226595,7 +226595,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226621,7 +226621,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226631,7 +226631,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226683,7 +226683,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226693,7 +226693,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226719,7 +226719,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226729,7 +226729,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226781,7 +226781,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226791,7 +226791,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226817,7 +226817,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226827,7 +226827,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226879,7 +226879,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226889,7 +226889,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226915,7 +226915,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226925,7 +226925,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -226977,7 +226977,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -226987,7 +226987,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227013,7 +227013,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227023,7 +227023,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227075,7 +227075,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227085,7 +227085,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227111,7 +227111,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227121,7 +227121,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227173,7 +227173,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227183,7 +227183,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227209,7 +227209,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227219,7 +227219,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227271,7 +227271,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227281,7 +227281,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227307,7 +227307,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227317,7 +227317,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227369,7 +227369,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227379,7 +227379,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227405,7 +227405,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227415,7 +227415,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://purl.org/dc/elements/1.1/creator' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227467,7 +227467,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227477,7 +227477,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227503,7 +227503,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227513,7 +227513,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227565,7 +227565,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227575,7 +227575,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227601,7 +227601,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227611,7 +227611,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227663,7 +227663,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227673,7 +227673,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227699,7 +227699,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227709,7 +227709,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227761,7 +227761,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227771,7 +227771,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227797,7 +227797,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227807,7 +227807,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227859,7 +227859,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227869,7 +227869,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227895,7 +227895,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227905,7 +227905,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227957,7 +227957,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -227967,7 +227967,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -227993,7 +227993,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228003,7 +228003,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228055,7 +228055,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228065,7 +228065,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228091,7 +228091,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228101,7 +228101,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228153,7 +228153,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228163,7 +228163,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228189,7 +228189,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228199,7 +228199,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228251,7 +228251,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228261,7 +228261,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228287,7 +228287,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228297,7 +228297,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228349,7 +228349,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228359,7 +228359,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228385,7 +228385,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228395,7 +228395,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228447,7 +228447,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228457,7 +228457,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228483,7 +228483,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228493,7 +228493,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228545,7 +228545,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228555,7 +228555,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228581,7 +228581,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228591,7 +228591,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228643,7 +228643,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228653,7 +228653,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228679,7 +228679,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228689,7 +228689,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228741,7 +228741,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228751,7 +228751,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228777,7 +228777,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228787,7 +228787,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228839,7 +228839,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228849,7 +228849,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228875,7 +228875,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228885,7 +228885,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228937,7 +228937,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228947,7 +228947,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -228973,7 +228973,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -228983,7 +228983,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229035,7 +229035,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229045,7 +229045,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229071,7 +229071,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229081,7 +229081,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229133,7 +229133,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229143,7 +229143,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229169,7 +229169,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229179,7 +229179,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229231,7 +229231,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229241,7 +229241,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229267,7 +229267,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229277,7 +229277,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229329,7 +229329,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229339,7 +229339,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229365,7 +229365,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229375,7 +229375,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229427,7 +229427,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229437,7 +229437,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229463,7 +229463,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229473,7 +229473,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229525,7 +229525,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229535,7 +229535,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229561,7 +229561,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229571,7 +229571,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229623,7 +229623,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229633,7 +229633,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -229659,7 +229659,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -229669,7 +229669,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} psn:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232389,7 +232389,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232399,7 +232399,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232425,7 +232425,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232435,7 +232435,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232487,7 +232487,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232497,7 +232497,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232523,7 +232523,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232533,7 +232533,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232585,7 +232585,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232595,7 +232595,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232621,7 +232621,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232631,7 +232631,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232683,7 +232683,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232693,7 +232693,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232719,7 +232719,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232729,7 +232729,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232781,7 +232781,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232791,7 +232791,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232817,7 +232817,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232827,7 +232827,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232879,7 +232879,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232889,7 +232889,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232915,7 +232915,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232925,7 +232925,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -232977,7 +232977,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -232987,7 +232987,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233013,7 +233013,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233023,7 +233023,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233075,7 +233075,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233085,7 +233085,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233111,7 +233111,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233121,7 +233121,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233173,7 +233173,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233183,7 +233183,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233209,7 +233209,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233219,7 +233219,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233271,7 +233271,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233281,7 +233281,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233307,7 +233307,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233317,7 +233317,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233369,7 +233369,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233379,7 +233379,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233405,7 +233405,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233415,7 +233415,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233467,7 +233467,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233477,7 +233477,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233503,7 +233503,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233513,7 +233513,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233565,7 +233565,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233575,7 +233575,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233601,7 +233601,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233611,7 +233611,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233663,7 +233663,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233673,7 +233673,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233699,7 +233699,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233709,7 +233709,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233761,7 +233761,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233771,7 +233771,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233797,7 +233797,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233807,7 +233807,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233859,7 +233859,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233869,7 +233869,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233895,7 +233895,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233905,7 +233905,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233957,7 +233957,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -233967,7 +233967,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -233993,7 +233993,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234003,7 +234003,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234055,7 +234055,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234065,7 +234065,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234091,7 +234091,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234101,7 +234101,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234153,7 +234153,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234163,7 +234163,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234189,7 +234189,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234199,7 +234199,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234251,7 +234251,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234261,7 +234261,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234287,7 +234287,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234297,7 +234297,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234349,7 +234349,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234359,7 +234359,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234385,7 +234385,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234395,7 +234395,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234447,7 +234447,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234457,7 +234457,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234483,7 +234483,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234493,7 +234493,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234545,7 +234545,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234555,7 +234555,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234581,7 +234581,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234591,7 +234591,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53i_is_former_or_current_location_of' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234643,7 +234643,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234653,7 +234653,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234679,7 +234679,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234689,7 +234689,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234741,7 +234741,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234751,7 +234751,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234777,7 +234777,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234787,7 +234787,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234839,7 +234839,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234849,7 +234849,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234875,7 +234875,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234885,7 +234885,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234937,7 +234937,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234947,7 +234947,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -234973,7 +234973,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -234983,7 +234983,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235035,7 +235035,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235045,7 +235045,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235071,7 +235071,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235081,7 +235081,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235133,7 +235133,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235143,7 +235143,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235169,7 +235169,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235179,7 +235179,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235231,7 +235231,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235241,7 +235241,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235267,7 +235267,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235277,7 +235277,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235329,7 +235329,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235339,7 +235339,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235365,7 +235365,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235375,7 +235375,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235427,7 +235427,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235437,7 +235437,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235463,7 +235463,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235473,7 +235473,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235525,7 +235525,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235535,7 +235535,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235561,7 +235561,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235571,7 +235571,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235623,7 +235623,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235633,7 +235633,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235659,7 +235659,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235669,7 +235669,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235721,7 +235721,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235731,7 +235731,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235757,7 +235757,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235767,7 +235767,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235819,7 +235819,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235829,7 +235829,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235855,7 +235855,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235865,7 +235865,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235917,7 +235917,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235927,7 +235927,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -235953,7 +235953,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -235963,7 +235963,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236015,7 +236015,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236025,7 +236025,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236051,7 +236051,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236061,7 +236061,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236113,7 +236113,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236123,7 +236123,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236149,7 +236149,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236159,7 +236159,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236211,7 +236211,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236221,7 +236221,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236247,7 +236247,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236257,7 +236257,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236309,7 +236309,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236319,7 +236319,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236345,7 +236345,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236355,7 +236355,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236407,7 +236407,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236417,7 +236417,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236443,7 +236443,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236453,7 +236453,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236505,7 +236505,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236515,7 +236515,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236541,7 +236541,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236551,7 +236551,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236603,7 +236603,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236613,7 +236613,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236639,7 +236639,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236649,7 +236649,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236701,7 +236701,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236711,7 +236711,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236737,7 +236737,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236747,7 +236747,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236799,7 +236799,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236809,7 +236809,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236835,7 +236835,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236845,7 +236845,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236897,7 +236897,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236907,7 +236907,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236933,7 +236933,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -236943,7 +236943,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -236995,7 +236995,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237005,7 +237005,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237031,7 +237031,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237041,7 +237041,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237093,7 +237093,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237103,7 +237103,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237129,7 +237129,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237139,7 +237139,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237191,7 +237191,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237201,7 +237201,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237227,7 +237227,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237237,7 +237237,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237289,7 +237289,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237299,7 +237299,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237325,7 +237325,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237335,7 +237335,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237387,7 +237387,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237397,7 +237397,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237423,7 +237423,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237433,7 +237433,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237485,7 +237485,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237495,7 +237495,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237521,7 +237521,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237531,7 +237531,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237583,7 +237583,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237593,7 +237593,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237619,7 +237619,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237629,7 +237629,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237681,7 +237681,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237691,7 +237691,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237717,7 +237717,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237727,7 +237727,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237779,7 +237779,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237789,7 +237789,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237815,7 +237815,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237825,7 +237825,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237877,7 +237877,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237887,7 +237887,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237913,7 +237913,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237923,7 +237923,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -237975,7 +237975,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -237985,7 +237985,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238011,7 +238011,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238021,7 +238021,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238073,7 +238073,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238083,7 +238083,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238109,7 +238109,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238119,7 +238119,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238171,7 +238171,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238181,7 +238181,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238207,7 +238207,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238217,7 +238217,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238269,7 +238269,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238279,7 +238279,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238305,7 +238305,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238315,7 +238315,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238367,7 +238367,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238377,7 +238377,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238403,7 +238403,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238413,7 +238413,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238465,7 +238465,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238475,7 +238475,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238501,7 +238501,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238511,7 +238511,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238563,7 +238563,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238573,7 +238573,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238599,7 +238599,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238609,7 +238609,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238661,7 +238661,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238671,7 +238671,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238697,7 +238697,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238707,7 +238707,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238759,7 +238759,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238769,7 +238769,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238795,7 +238795,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238805,7 +238805,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238857,7 +238857,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238867,7 +238867,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238893,7 +238893,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238903,7 +238903,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238955,7 +238955,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -238965,7 +238965,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -238991,7 +238991,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239001,7 +239001,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239053,7 +239053,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239063,7 +239063,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239089,7 +239089,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239099,7 +239099,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239151,7 +239151,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239161,7 +239161,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239187,7 +239187,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239197,7 +239197,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239249,7 +239249,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239259,7 +239259,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239285,7 +239285,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239295,7 +239295,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239347,7 +239347,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239357,7 +239357,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239383,7 +239383,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239393,7 +239393,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239445,7 +239445,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239455,7 +239455,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239481,7 +239481,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239491,7 +239491,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239543,7 +239543,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239553,7 +239553,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239579,7 +239579,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239589,7 +239589,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239641,7 +239641,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239651,7 +239651,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239677,7 +239677,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239687,7 +239687,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239739,7 +239739,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239749,7 +239749,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239775,7 +239775,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239785,7 +239785,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239837,7 +239837,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239847,7 +239847,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239873,7 +239873,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239883,7 +239883,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239935,7 +239935,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239945,7 +239945,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -239971,7 +239971,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -239981,7 +239981,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240033,7 +240033,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240043,7 +240043,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240069,7 +240069,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240079,7 +240079,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240131,7 +240131,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240141,7 +240141,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240167,7 +240167,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240177,7 +240177,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240229,7 +240229,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240239,7 +240239,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240265,7 +240265,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240275,7 +240275,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240327,7 +240327,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240337,7 +240337,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240363,7 +240363,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240373,7 +240373,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240425,7 +240425,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240435,7 +240435,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240461,7 +240461,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240471,7 +240471,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240523,7 +240523,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240533,7 +240533,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240559,7 +240559,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240569,7 +240569,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240621,7 +240621,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240631,7 +240631,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240657,7 +240657,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240667,7 +240667,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240719,7 +240719,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240729,7 +240729,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240755,7 +240755,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240765,7 +240765,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240817,7 +240817,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240827,7 +240827,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240853,7 +240853,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240863,7 +240863,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240915,7 +240915,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240925,7 +240925,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -240951,7 +240951,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -240961,7 +240961,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241013,7 +241013,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241023,7 +241023,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241049,7 +241049,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241059,7 +241059,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241111,7 +241111,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241121,7 +241121,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241147,7 +241147,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241157,7 +241157,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241209,7 +241209,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241219,7 +241219,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241245,7 +241245,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241255,7 +241255,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241307,7 +241307,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241317,7 +241317,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241343,7 +241343,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241353,7 +241353,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241405,7 +241405,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241415,7 +241415,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241441,7 +241441,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241451,7 +241451,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor::item/@xml:id)} #"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62i_is_depicted_by' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} #"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241503,7 +241503,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241513,7 +241513,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241539,7 +241539,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241549,7 +241549,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241601,7 +241601,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241611,7 +241611,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241637,7 +241637,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241647,7 +241647,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241699,7 +241699,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241709,7 +241709,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241735,7 +241735,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241745,7 +241745,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241797,7 +241797,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241807,7 +241807,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241833,7 +241833,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241843,7 +241843,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241895,7 +241895,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241905,7 +241905,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241931,7 +241931,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -241941,7 +241941,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -241993,7 +241993,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242003,7 +242003,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242029,7 +242029,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242039,7 +242039,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242091,7 +242091,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242101,7 +242101,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242127,7 +242127,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242137,7 +242137,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242189,7 +242189,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242199,7 +242199,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242225,7 +242225,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242235,7 +242235,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242287,7 +242287,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242297,7 +242297,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242323,7 +242323,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242333,7 +242333,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242385,7 +242385,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242395,7 +242395,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242421,7 +242421,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242431,7 +242431,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242483,7 +242483,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242493,7 +242493,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242519,7 +242519,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242529,7 +242529,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242581,7 +242581,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242591,7 +242591,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242617,7 +242617,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242627,7 +242627,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242679,7 +242679,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242689,7 +242689,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242715,7 +242715,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242725,7 +242725,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242777,7 +242777,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242787,7 +242787,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242813,7 +242813,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242823,7 +242823,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242875,7 +242875,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242885,7 +242885,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242911,7 +242911,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242921,7 +242921,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -242973,7 +242973,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -242983,7 +242983,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243009,7 +243009,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243019,7 +243019,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243071,7 +243071,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243081,7 +243081,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243107,7 +243107,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243117,7 +243117,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243169,7 +243169,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243179,7 +243179,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243205,7 +243205,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243215,7 +243215,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243267,7 +243267,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243277,7 +243277,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243303,7 +243303,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243313,7 +243313,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243365,7 +243365,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243375,7 +243375,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243401,7 +243401,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243411,7 +243411,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243463,7 +243463,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243473,7 +243473,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243499,7 +243499,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243509,7 +243509,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243561,7 +243561,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243571,7 +243571,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243597,7 +243597,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243607,7 +243607,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243659,7 +243659,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243669,7 +243669,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:" + @xml:id + "'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243695,7 +243695,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243705,7 +243705,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P89i_contains' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243757,7 +243757,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243767,7 +243767,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243793,7 +243793,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243803,7 +243803,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243855,7 +243855,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243865,7 +243865,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243891,7 +243891,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243901,7 +243901,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243953,7 +243953,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243963,7 +243963,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -243989,7 +243989,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -243999,7 +243999,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244051,7 +244051,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244061,7 +244061,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244087,7 +244087,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244097,7 +244097,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244149,7 +244149,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244159,7 +244159,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244185,7 +244185,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244195,7 +244195,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244247,7 +244247,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244257,7 +244257,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244283,7 +244283,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244293,7 +244293,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244345,7 +244345,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244355,7 +244355,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244381,7 +244381,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244391,7 +244391,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244443,7 +244443,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244453,7 +244453,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244479,7 +244479,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244489,7 +244489,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244541,7 +244541,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244551,7 +244551,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244577,7 +244577,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244587,7 +244587,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244639,7 +244639,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244649,7 +244649,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244675,7 +244675,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244685,7 +244685,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244737,7 +244737,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244747,7 +244747,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244773,7 +244773,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244783,7 +244783,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244835,7 +244835,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244845,7 +244845,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244871,7 +244871,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244881,7 +244881,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244933,7 +244933,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244943,7 +244943,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -244969,7 +244969,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -244979,7 +244979,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245031,7 +245031,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245041,7 +245041,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245067,7 +245067,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245077,7 +245077,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245129,7 +245129,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245139,7 +245139,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245165,7 +245165,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245175,7 +245175,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245227,7 +245227,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245237,7 +245237,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245263,7 +245263,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245273,7 +245273,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245325,7 +245325,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245335,7 +245335,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245361,7 +245361,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245371,7 +245371,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245423,7 +245423,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245433,7 +245433,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245459,7 +245459,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245469,7 +245469,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245521,7 +245521,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245531,7 +245531,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245557,7 +245557,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245567,7 +245567,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245619,7 +245619,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245629,7 +245629,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245655,7 +245655,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245665,7 +245665,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245717,7 +245717,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245727,7 +245727,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245753,7 +245753,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245763,7 +245763,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245815,7 +245815,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245825,7 +245825,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245851,7 +245851,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245861,7 +245861,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245913,7 +245913,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245923,7 +245923,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -245949,7 +245949,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -245959,7 +245959,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P62_depicts' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246011,7 +246011,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246021,7 +246021,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246047,7 +246047,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246057,7 +246057,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246109,7 +246109,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246119,7 +246119,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246145,7 +246145,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246155,7 +246155,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246207,7 +246207,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246217,7 +246217,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246243,7 +246243,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246253,7 +246253,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246305,7 +246305,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246315,7 +246315,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246341,7 +246341,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246351,7 +246351,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246403,7 +246403,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246413,7 +246413,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246439,7 +246439,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246449,7 +246449,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246501,7 +246501,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246511,7 +246511,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246537,7 +246537,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246547,7 +246547,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246599,7 +246599,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246609,7 +246609,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246635,7 +246635,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246645,7 +246645,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246697,7 +246697,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246707,7 +246707,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246733,7 +246733,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246743,7 +246743,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246795,7 +246795,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246805,7 +246805,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246831,7 +246831,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246841,7 +246841,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246893,7 +246893,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246903,7 +246903,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246929,7 +246929,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -246939,7 +246939,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -246991,7 +246991,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247001,7 +247001,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247027,7 +247027,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247037,7 +247037,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247089,7 +247089,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247099,7 +247099,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247125,7 +247125,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247135,7 +247135,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247187,7 +247187,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247197,7 +247197,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247223,7 +247223,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247233,7 +247233,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247285,7 +247285,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247295,7 +247295,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247321,7 +247321,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247331,7 +247331,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247383,7 +247383,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247393,7 +247393,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247419,7 +247419,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247429,7 +247429,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247481,7 +247481,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247491,7 +247491,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247517,7 +247517,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247527,7 +247527,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247579,7 +247579,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247589,7 +247589,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247615,7 +247615,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247625,7 +247625,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247677,7 +247677,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247687,7 +247687,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247713,7 +247713,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247723,7 +247723,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247775,7 +247775,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247785,7 +247785,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247811,7 +247811,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247821,7 +247821,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247873,7 +247873,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247883,7 +247883,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247909,7 +247909,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247919,7 +247919,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -247971,7 +247971,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -247981,7 +247981,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -248007,7 +248007,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -248017,7 +248017,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -248069,7 +248069,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -248079,7 +248079,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -248105,7 +248105,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -248115,7 +248115,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -248167,7 +248167,7 @@ fetch-rs2</String>
                                                         <actionMode-array>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 0</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 0</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -248177,7 +248177,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
+                                                                            <String>"&lt;linkGrp xmlns='http://www.tei-c.org/ns/1.0' targFunc='active passive'>&lt;link ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>&lt;/linkGrp>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -248203,7 +248203,7 @@ fetch-rs2</String>
                                                             </actionMode>
                                                             <actionMode>
                                                                 <field name="xpathCondition">
-                                                                    <String>count(ancestor::item/linkGrp) = 1</String>
+                                                                    <String>count(ancestor-or-self::item/linkGrp) = 1</String>
                                                                 </field>
                                                                 <field name="argValues">
                                                                     <serializableOrderedMap>
@@ -248213,7 +248213,7 @@ fetch-rs2</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>element</String>
-                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
+                                                                            <String>"&lt;link xmlns='http://www.tei-c.org/ns/1.0' ana='http://erlangen-crm.org/current/P53_has_former_or_current_location' target='#${xpath_eval(ancestor-or-self::item/@xml:id)} plc:"+@xml:id+"'/>"</String>
                                                                         </entry>
                                                                         <entry>
                                                                             <String>expression</String>
@@ -255733,4 +255733,4 @@ fetch-rs2</String>
         </options>
     </meta>
     <projectTree name="hainhofer.xpr"/>
-</project>
\ No newline at end of file
+</project>