Export (0) Print
Expand All

words Element

Office 2007

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

Usage


<words />

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Child Elements

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

Attributes

None

Definition


<xsd:element name="words">
   <xsd:complexType>
      <xsd:sequence>
         <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>
      </xsd:sequence>
      <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 parent 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> 


Community Additions

ADD
Show:
© 2014 Microsoft