17.15.2.16 frame

This element specifies the properties for a single frame within a frameset document. When a document defines a frameset using the frameset element; that frameset is composed of a set of frames, each of which is specified by a single frame element.

[Example: Consider a WordprocessingML document which serves as the frameset container for a frameset consisting of the following three frames:

image

The frameset properties for this document are specified by the following WordprocessingML within the web page settings:

<w:frameset>
  <w:frame>
    <w:sz w:val="20%" />
    <w:name w:val="Frame 1" />
    <w:sourceFileName r:id="rId1" />
  </w:frame>
  <w:frameset>
  </w:frameset>
</w:frameset>

The frame element specifies the set of properties for a single frame in the document. In this case, these properties (for the frame marked with Frame 1 in the diagram above) specify that the frame must have the following properties:

  • A height of 20% of the height of the document
  • A name of Frame 1
  • The contents of the frame must be pulled from the document that is the target of the relationship with
  • ID rId1

end example]

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

Last updated on