<doNotEmbedSmartTags> (Remove Smart Tags When Saving)

This element specifies if any smart tags specified using the <smartTag> element shall be removed from the contents of this document before it is resaved. This setting shall also prevent the addition of new smart tags to the content of the document.

If this element is omitted, then smart tags shall not be removed from the file when it is saved.

example:
<w:doNotEmbedSmartTags w:val=”true”/>

The <doNotEmbedSmartTags> element's @val attribute has a value of true specifying that smart tags shall never be saved in the contents of this document. For example, if a run formerly looked like this:

<w:p>
  <w:r>
    <w:t xml:space="preserve">Hello</w:t>
  </w:r>
  <w:smartTag  >
    <w:r>
      <w:t>world<w:t>
    </w:r>
  </w:smartTag>
</w:p>

The presence of this element specifies that the SmartTag element shall be removed, and applications may then choose to combine duplicated runs as desired. ]

Parent Elements

<settings>2.15.1.78)

Attributes

Description

<val> (On/Off Value)

Specifies a binary value for the property defined by the parent XML element.

A value of on, 1, or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.

A value of off, 0, or false specifies that the property shall be explicitly turned off.

<w:… w:val="off"/>

The @val attribute explicitly declares that the property is turned off. ]

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

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

<complexType name="CT_OnOff">
	<attribute name="val" type="ST_OnOff"/>
</complexType>