<saveThroughXslt> (Custom XSL Transform To Use When Saving As XML File)

This element specifies the location of a custom XSL transform which shall be used when this document is saved as a single XML file (in a format not defined by this Office Open XML Standard). [: Because this setting specifies behavior when saving to an alternative file format not defined by this Office Open XML Standard, this behavior is optional. ]

If this element is omitted, then no custom XSL transform shall be used when saving this file as a single XML file. If the <useXSLTWhenSaving> element (§2.15.1.92) is omitted or set to false, then this transform shall not be applied when the document is saved as a single XML file.

example:
<w:useXSLTWhenSaving w:val="on"/> 
<w:saveThroughXslt r:id="rId5" />

The <useXSLTWhenSaving> element's @val is set to on indicating that applications shall apply the XSLT specified by the relationship targeted by the @id attribute of the <saveThroughXslt> element, located at rId5, when saving as a single XML file

Parent Elements

<settings>2.15.1.78)

Attributes

Description

<id> (XSL Transformation Location)

Namespace: .../officeDocument/2006/relationships

Specifies an explicit relationship to the location of the XSL Transformation which shall be applied.

The relationship targeted by this element shall be of type http://schemas.openxmlformats.org/officeDocument/2006/relationships/transform, or this document shall be declared invalid.

<w:saveThroughXslt r:id="rId5" />

The <saveThroughXslt> element specifies that the relationship located at rId5 shall be used when saving as a single XML file in this case, that relationship shall target c:\Example Transform.xslt]

The possible values for this attribute are defined by the ST_RelationshipId simple type (§7.8.2.1).

<solutionID> (Local Identifier for XSL Transform)

Specifies a string identifier which may be used to locate the XSL transform to be applied. The semantics of this attribute are not defined by this Office Open XML Standard - applications may use this information in any application-defined manner to resolve the location of the XSL transform to apply.

If this attribute is omitted, then no local identifier is specified for the XSL transform. If both this and the @xslt attributes are present, then this data shall be used first, and the latter shall only be used if this information cannot be used successfully.

<w:saveThroughXslt w:solutionID="mySolution" />

The @solutionID attribute has a value of mySolution indicating that applications shall apply the XSLT identified by this value (if known) when saving as a single XML file

The possible values for this attribute are defined by the ST_String simple type (§2.18.89).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_SaveThroughXslt">
	<attribute ref="r:id" use="optional"/>
	<attribute name="solutionID" type="ST_String" use="optional"/>
</complexType>