DocumentID: ECMA-376/Part1/11.9 Title: ECMA-376, Part1: 11.9 XSL Transformation Extracted-From: ECMA-376 Office Open XML File Formats, 1st Edition / December 2006 Warning: Coverted to HTML format by a script known to have bugs
|
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: Consider a document specifying an XSL Transformation located at http://www.openxmlformats.org/test.xsl:
<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>
end example]
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).