views Element

Microsoft Office InfoPath

views Element

Defines all of the views that have been implemented in a Microsoft Office InfoPath 2003 form.

Type

      xsd:complexType
    

Structure

Name Description
default (Optional attribute) Specifies the name of the view chosen to be the default view.
view (Required element) Contains information about an InfoPath view.

Remarks

The views element is a required element of the xDocumentClass element.

Example

The following is an example of the views element:

    <xsf:views default="View">
   <xsf:view name="View" caption="View">
      <xsf:mainpane transform="view1.xsl"></xsf:mainpane>
      ...
   </xsf:view>
</xsf:views>