Definition Type Element
Name file-field
Abstract False
MinOccurs 0
MaxOccurs (1)
Documentation A special tag that creates a compound component for selecting a file.
XSD Schema Character Sheet Definition.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element minOccurs="0" name="file-field" >
  <xs:annotation>
    <xs:documentation>A special tag that creates a compound component for selecting a file.</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" name="name" type="xs:string">
        <xs:annotation>
          <xs:documentation>The label used to identify this field on the charcter sheet.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="id" type="xs:string">
        <xs:annotation>
          <xs:documentation>An optional ID for this field so its contents can be referenced elsewhere on the sheet.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <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>

      <xs:element minOccurs="0" name="tag" type="xs:string">
        <xs:annotation>
          <xs:documentation>The tag to use when saving this clause's data.  Without a tag, data contained in this field will not be preserved.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="size" type="xs:integer">
        <xs:annotation>
          <xs:documentation>The number of columns the text component of this field should use.  Depending on the layout of the sheet, this value may or may not be honored.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="token-name" type="xs:string">
        <xs:annotation>
          <xs:documentation>An optional identifier that makes the contents of this field available to expressions.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" default="false" name="dm-only" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Flag indicating that this field should only appear to the Master.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" default="false" name="hidden" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Flag indicating that this field should never be rendered.</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-field
    [No Super Types]
Generated using Liquid XML Studio by Liquid Technologies Ltd