Show All

# mainpane Element

Determines what is displayed in the main pane.

## Type

    xsd:complexType

## Structure

Name | Description
--- | ---
transform | (Required attribute) Specifies the relative URL to the XSL Transformation (XSLT) that is used for the view.

## Remarks

The mainpane element is a required element of the view element.

The mainpane element is an optional element of the externalView element.

The main pane is the main form area, as opposed to secondary user interface areas such as the task pane.

## Example

The following is an example of the mainpane element:

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

The following is an example of the mainpane element used within the externalView element:

    <xsf:externalViews>
     <xsf:externalView name="Sales Doc">
      <xsf:mainpane transform="myWordView.xsl" />
     </xsf:externalView>
    <xsf:externalViews>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp