Definition Type Element
Name file-filter
Abstract False
MinOccurs 0
MaxOccurs (1)
Documentation This clause allows you to define a filter to be applied to the file dialog that is a part of the "file-field."
XSD Schema Character Sheet Definition.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element minOccurs="0" name="file-filter" >
  <xs:annotation>
    <xs:documentation>This clause allows you to define a filter to be applied to the file dialog that is a part of the &quot;file-field.&quot;</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" name="name" type="xs:string">
        <xs:annotation>
          <xs:documentation>The name of this filter, which will be displayed in the file dialog.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="init-dir" type="xs:string">
        <xs:annotation>
          <xs:documentation>A path representing the initial location where the file dialog will open.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" maxOccurs="unbounded" name="filter" type="xs:string">
        <xs:annotation>
          <xs:documentation>A filtering agent.  Each instance of this tag represents a type of file that the file dialog will accept and display.

The value of this tag should contain the extension of the files of interest, without any periods.

For example, for WAV sound files, you would set this filter's value to &quot;wav&quot; and not &quot;.wav.&quot;
</xs:documentation>
        </xs:annotation>

      </xs:element>

    </xs:sequence>

  </xs:complexType>

</xs:element>
Child Elements
Name Type Min Occurs Max Occurs
Derivation Tree
[No Sub Types]
file-filter
    [No Super Types]
Generated using Liquid XML Studio by Liquid Technologies Ltd