Save Document as XML File through Custom XSL Transform. When the object is serialized out as xml, its qualified name is w:useXSLTWhenSaving.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
useXSLTWhenSaving (Save Document as XML File through Custom XSL Transform)
This element specifies that this document should be saved through the custom XSLT transform defined by the saveThroughXslt element (§126.96.36.199) in this document when it is saved as a single XML file (not defined by /IEC 29500). [Guidance: Because this setting specifies behavior when saving to an alternative file format not defined by /IEC 29500, this behavior is optional. end guidance]
If the saveXmlDataOnly element (§188.8.131.52) is specified, then the single XML file to be transformed is the custom XML markup of the document, otherwise, it a format outside the scope of /IEC 29500. If the XSL transform specified by the saveThroughXslt element is not present, then this setting should be ignored.
If this element is omitted, then this document should not be saved through a custom XSL transform when it is saved as a single XML file.
[Example: Consider a WordprocessingML document which should be saved through a custom XSL transform when it is saved as a single XML file. This requirement is specified using the following WordprocessingML in the document settings:
<w:useXSLTWhenSaving w:val="true" />
The useXSLTWhenSaving element's val attribute has a value of true specifying that the content in this document should be saved as a single XML file through the custom XSLT specified by the saveThroughXslt element. end example]
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.