3.4 Relationships (as used in EPC)
Topic Version | 1 | Published | 09/15/2014 | |
For Standard | EPC v1.0 |
EPC depends strongly on the OPC mechanism for defining relationships between parts. It is primarily used to store the relationships between various XML data objects and between data and proxy objects. For general information about specifying relationships in OPC, see 2.2.2 Relationships (Defined by OPC).
This section provides rules and guidelines for specifying relationships in an EPC file. The following code is an example _rels file, showing the relationship between a fault interpretation and a local 3D CRS, plus one external relationship to an HDF5 file.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship
Id="_f99e7434-3a4d-4a65-a15c-9bad78889b2f"
Type="http://schemas.energistics.org/package/2012/relationships/destinationObject"
Target="FaultInterpretation_f99e7434-3a4d-4a65-a15c-9bad78889b2f.xml"/>
<Relationship
Id="_6f178884-210a-4b27-b56d-f1b2826dc20b"
Type="http://schemas.energistics.org/package/2012/relationships/destinationObject"
Target="LocalDepth3dCrs_6f178884-210a-4b27-b56d-f1b2826dc20b.xml"/>
<Relationship
Id="_ffbd74d6-9e41-4428-9189-810d32c1b2a0"
Type="http://schemas.energistics.org/package/2012/relationships/mlToExternalPartProxy"
Target="EpcExternalPartReference_ffbd74d6-9e41-4428-9189-810d32c1b2a0.xml"/>
</Relationships>