[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

blockQuote (Data for HTML blockquote Element)

This element specifies that the current div element does not represent an HTML div element, but rather represents an HTML blockquote element. This element shall specify that this container shall be written out using the blockquote element if this document is subsequently saved as HTML.

If this element is omitted, then the current div element does not represent an HTML blockquote element. If both this element and the bodyDiv element (§2.15.2.3) are specified, then this element shall take precedence in all cases.

[Example: Consider a simple HTML document defined as follows:

<html>
<body style="margin-left:200px;margin-top:50px">
<p>Paragraph one.</p>
<blockquote style="border: 5px solid #00FFFF">
<p>Paragraph in a blockquote.</p>
</blockquote>
<p>Paragraph two.</p>
</body>
</html>

When this document is saved in the WordprocessingML format, the information stored on the div, blockquote, and body elements is stored in the web setting part as follows:

<w:divs>
<w:div w:id="1626542603">

<w:divsChild>
<w:div w:id="313534916">
<w:blockQuote w:val="true" />

</w:div>
</w:divsChild>
</w:div>
</w:divs>

The blockQuote element has a val attribute value of true, which specifies that the nested div element actually represents a nested HTML blockquote when this document is resaved as HTML. end example]

Parent Elements

div2.15.2.6)

 

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.

 

[Example: For example, consider the following on/off property:

 

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

 

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

 

The possible values for this attribute are defined by the ST_OnOff simple type2.18.67).

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

<complexType name="CT_OnOff">

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

</complexType>