externalView Element

Defines a view that cannot be edited in Microsoft Office InfoPath.

Type

xsd:complexType

Child Elements

Element Description
mainpane Specifies the XSL Transformation (XSLT) to be applied to the view.

Attributes

Attribute Type Required Description Possible Values
name xsf:xdViewName Yes Contains the name of the externalView element.

minlength = 1

maxlength = 255

pattern = ([^\p{Z}\p{C}/\\#&"><])(([^\p{Zl}\p{Zp}\p{C}/\\#&"><])*([^\p{Z}\p{C}/\\#&"><]))?

Remarks

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.

Definition

<xsd:element name="externalView">
<xsd:complexType>
  <xsd:sequence>
   <xsd:element ref="xsf:mainpane" />
  </xsd:sequence>
  <xsd:attribute name="name" type="xsf:xdViewName" use="required" />
 </xsd:complexType>
</xsd:element>

Example

The following is an example of the externalView element:

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

Parent Objects | externalViews Element

Child Objects | mainpane Element