[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

delText (Deleted Text)

This element specifies that this run contains literal text which shall be displayed in the document. The delText element shall be used for all text runs which are part of a region of text that is contained in a deleted region using the del element (§2.13.5.12).

[Example: Consider a paragraph of WordprocessingML content which reads This is deleted text, where the words deleted text are part of a deleted region of the document. This paragraph would therefore be represented as follows:

<w:p>
<w:r>
<w:t xml:space="preserve">This is </w:t>
</w:r>
<w:del>
<w:r>
<w:delText>deleted text</w:delText>
</w:r>
</w:del>
</w:p>

The deleted text is contained in a delText node, while the regular text is contained in a t node. end example]

Parent Elements

r7.1.2.87); r2.3.2.23)

 

Attributes

Description

space (Content Contains Significant Whitespace)

 

Namespace: http://www.w3.org/XML/1998/namespace

Specifies how white space should be handled for the contents of this element using the W3C space preservation rules.

 

[Example: Consider the following run contained within a WordprocessingML document:

 

<w:r>
<w:t>significant whitespace </w:t>
</w:r>

 

Although there are three spaces on each side of the text content in the run, that whitespace has not been specifically marked as significant, therefore it is removed when this run is added to the document. end example]

 

The possible values for this attribute are defined by the type in the namespace.

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

<complexType name="CT_Text">

   <simpleContent>

   <extension base="ST_String">

   <attribute ref="xml:space" use="optional"/>

   </extension>

   </simpleContent>

</complexType>