]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
a7a875090e74065e4555d682c6c8527a9e08eb89
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <document name="collectionobjects">
3
4     <ns2:collectionobjects_common
5         xmlns:ns2="http://collectionspace.org/services/collectionobject">
6         <objectNumber>${objectNumber}</objectNumber>
7     </ns2:collectionobjects_common>
8
9     <ns3:relations-common-list xmlns:ns3="http://collectionspace.org/services/relation"
10                                xmlns:ns2="http://collectionspace.org/services/jaxb">
11         
12         <!-- Create hierarchical relationships between the chess set box -->
13         <!-- and its three children: the chess board, and the bags of white -->
14         <!-- and black chess pieces -->
15         
16         <!-- 
17              ${itemCSID} is a convention understood by the Relations service,
18              which is replaced by the CSID of the item being created.  (This
19              applies to all items, including object and procedural records,
20              not just to authority item records).
21              
22              As such, ${itemCSID} does NOT get expanded by XmlReplay. 
23              It passes through, and then the service deals with it.
24         -->
25         <relation-list-item>
26             <predicate>hasBroader</predicate>
27             <subject>
28                 <csid>${itemCSID}</csid>
29                 <documentType>CollectionObject</documentType>
30             </subject>
31             <object>
32                 <csid>${parentCSID}</csid>
33                 <documentType>CollectionObject</documentType>
34             </object>
35         </relation-list-item>
36         
37     </ns3:relations-common-list>
38 </document>
39
40