Custom XML Data Storage Part

Content Type:

application/xml

Root Namespace:

any XML allowed

Source Relationship:

http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml

An instance of this part type can contain arbitrary XML. As such, an instance of this part can be used to roundtrip arbitrary custom XML data with this package.

A package is permitted to contain one or more Custom XML Data Storage parts, and each such part shall be the target of an implicit relationship in a Main Document (§11.3.10) part in a WordprocessingML package; a Workbook (§12.3.23) part in a SpreadsheetML package; or a Handout Master (§13.3.3) , Notes Master (§13.3.4), Notes Slide (§13.3.5), Presentation (§13.3.6), Slide (§13.3.8), Slide Layout (§13.3.9), or Slide Master (§13.3.10) part in a PresentationML package.

example:
<Relationships xmlns="…">
  <Relationship Id="rId1" 
    Type="http://…/customXmlData" Target="../customXML/item1.xml"/>
</Relationships>

A Custom XML Data Storage part shall be located within the package containing the source relationship (expressed syntactically, the @TargetMode attribute of the <Relationship> element shall be Internal).

A Custom XML Data Storage part is permitted to have implicit relationships to the following parts defined by this Standard:

  • Custom XML Data Storage Properties (§15.2.5)

A Custom XML Data Storage part shall not have implicit or explicit relationships to any other part defined by this Standard.