In a repository schema, a map, set, list, or array property can point to a single other item using the itemRef attribute. The value assigned to the itemRef attribute concatenates the item descriptor name, the property element separator, and the repository ID. In the following example, the item descriptor name is role, the property element separator is . (dot) and the repository ID is 2900004:

<user:itemRef itemRef="role.2900004"/>

The following is a more extended example, showing the context for the itemRef attribute:

<user:user xmlns:user=http://www.atg.com/ns/profileMapping/UserProfiles/user
        xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
        xsi:schemaLocation="http://www.atg.com/ns/profileMapping/UserProfiles/user
        profileMapping+UserProfiles+user.xsd " ID="user747">
     <user:homeAddress itemRef="contactInfo.1040001"/>
  <user:roles>
    <user:itemRef itemRef="role.2900004"/>
    <user:itemRef itemRef="role.3000008"/>
  </user:roles>
</user:user>
 
loading table of contents...