XSL Transformation
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/relationships/transform |
A document can store information about an XSL Transformation which might be applied on save, by containing a Document Settings part (§11.3.3) whose part relationship item contains an explicit relationship to the file location of the XSL Transformation using this relationship.
example:
<Relationships xmlns="…"> <Relationship Id="rId8" Type="http://…/transform" Target="http://www.openxmlformats.org/test.xsl" TargetMode="External"/> </Relationships>
The document’s Document Settings part contains a <saveThroughXslt>
element< >
that explicitly references this relationship:
<w:settings …> … <w:saveThroughXslt r:id="rId8" /> … </w:settings>
An XSL transformation shall be located external to the package containing the source relationship (expressed syntactically, the @TargetMode
attribute of the <Relationship>
element shall be External
).