xdViewName Type

Microsoft Office InfoPath

Show All Show All

xdViewName Type

Specifies a view name.

Type

      xsd:string
    

Facets

Name Description
minLength 1
maxLength 255
pattern ([^\p{Z}\p{C}/\\#&"><])(([^\p{Zl}\p{Zp}\p{C}/\\#&"><])*([^\p{Z}\p{C}/\\#&"><]))?

Remarks

The xdViewName type is used for attributes in the form definition (.xsf) file that are a string of characters that can be from 1 to 255 characters in length, and that follow a prescribed pattern.

Example

The following example is the declaration of the xdViewName type:

    <xsd:simpleType name="xdViewName">
   <xsd:restriction base="xsd:string">
      <xsd:minLength value="1" />
      <xsd:maxLength value="255" />
      <xsd:pattern value="([^\p{Z}\p{C}/\\#&amp;&quot;&gt;&lt;])
         (([^\p{Zl}\p{Zp}\p{C}/\\#&amp;&quot;&gt;&lt;])*([^\p{Z}
         \p{C}/\\#&amp;&quot;&gt;&lt;]))?" />
   </xsd:restriction>
</xsd:simpleType>