17.3.3.31 t

This element specifies that this run contains literal text which shall be displayed in the document. The t element shall be used for all text runs which are not:

  • Part of a region of text that is contained in a deleted region using the del element (17.13.5.14)
  • Part of a region of text that is contained within a field code

[Example: Consider a paragraph of WordprocessingML content which reads This would therefore be represented as follows:

<w:p>
  <w:r>
    <w:t>This is text</w:t>
  </w:r>
</w:p>

The text is contained in a t node. end example]

Attributes

Namespace: http://www.w3.or g/XML/1998/nam espace

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

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 subject to the space preservation rules currently specified in that run’s scope. end example]

The possible values for this attribute are defined by 2.10 of the XML 1.0 specification.

xml:space (Content Contains Significant Whitespace)

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:

[Note: The W3C XML Schema definition of this element’s content model (CT_Text) is located in A.1. end note]

Last updated on