This documentation is archived and is not being maintained.

externalView Element

Office 2007

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

Type

xsd:complexType

Child Elements

ElementDescription
mainpaneSpecifies the XSL Transformation (XSLT) to be applied to the view.

Attributes

AttributeTypeRequiredDescriptionPossible Values
name
xsf:xdViewName
YesContains 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>


Show: