word Element

Specifies a word or phrase in the list of words or phrases defined for a custom phrase list input scope.

Usage

  
<word
	value="xsd:string"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

Element Description
words Contains one or more word elements that specify the list of words or phrases defined for a custom phrase list input scope definition.

Child Elements

None

Attributes

Attribute Type Required Description Possible Values
value xsd:string Optional The word or phrase to include in the list of words or phrases defined for a custom phrase list input scope.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String

Definition

  
<xsd:element name="word" maxOccurs="unbounded" minOccurs="1">
   <xsd:complexType>
      <xsd:sequence />
      <xsd:attribute name="value" type="xsd:string" use="optional" default="" />
      <xsd:anyAttribute  processContents="skip" />
   </xsd:complexType>
</xsd:element>

Remarks

For more information about input scope settings, search Microsoft Office InfoPath 2007 Help for "Input scopes for InfoPath controls".

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.

Example

The following is an example of the inputScopes element with an inputScope element that defines a custom phrase list input scope using the words and word elements.

  
<xsf2:inputScopes>
   <xsf2:inputScope caption="3 letters" name="__is_1">
      <xsf2:words>
         <xsf2:word value="aaa"/>
         <xsf2:word value="bbb"/>
         <xsf2:word value="ccc"/>
      </xsf2:words>
   </xsf2:inputScope>
</xsf2:inputScopes>