Via <shopref ref="id_of_shop_to_be_cross-referenced"/> access to data stored under this identifier is possible. By means of this it is possible to simply make a cross-reference to a shop's data which were specified before in the file.
<purchase>
(see also <purchase>)
<uddf version="2.2.0">
<generator>
<!-- information about the generating software -->
</generator>
<diver>
<owner id="o1">
<!-- description of the owner of the UDDF file -->
<equipment>
<fins id="my_fins">
<purchase>
<shop id="shop_Watersports-Limited">
<name>Watersports Limited</name>
<address>
<!-- address of shop -->
</address>
<contact>
<!-- contact data of shop -->
</contact>
</shop>
</purchase>
<!-- further description of the fins -->
</fins>
<mask id="my_mask">
<purchase>
<!-- mask, and fins were bought in the same shop -->
<shopref ref="shop_Watersports-Limited"/>
</purchase>
<!-- further description of the mask -->
</mask>
<!-- description of more equipment used by the owner of the UDDF file -->
</equipment>
</owner>
<buddy id="b1">
<!-- description of a dive buddy -->
</buddy>
<!-- here can stand more <buddy> elements, if necessary -->
</diver>
<!-- here can stand more sections -->
</uddf>