Share via


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}/\\#&"><]))?

  xsf:xdViewName

Remarks

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>