Definition Type Element
Name static-label-script-ex
Abstract False
MinOccurs 0
MaxOccurs unbounded
Documentation A clause that defines a script to be executed to build an expression's label.

Unlike "parse" scripts, the script referenced by this tag must contain a "getLabel()" method that returns a String.  This string will be used, unaltered, in the program's interface to represent the expression.
XSD Schema Character Sheet Definition.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element minOccurs="0" maxOccurs="unbounded" name="static-label-script-ex" >
  <xs:annotation>
    <xs:documentation>A clause that defines a script to be executed to build an expression's label.

Unlike &quot;parse&quot; scripts, the script referenced by this tag must contain a &quot;getLabel()&quot; method that returns a String.  This string will be used, unaltered, in the program's interface to represent the expression.
</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="1" name="script" type="xs:string">
        <xs:annotation>
          <xs:documentation>The script file name to execute.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" maxOccurs="unbounded" name="args">
        <xs:annotation>
          <xs:documentation>List of arguments to define for the script.</xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="unbounded" name="arg">
              <xs:annotation>
                <xs:documentation>An individual script variable.</xs:documentation>
              </xs:annotation>

              <xs:complexType>
                <xs:sequence>
                  <xs:element minOccurs="1" name="name" type="xs:string">
                    <xs:annotation>
                      <xs:documentation>The name of the variable to be declared in the script's context.</xs:documentation>
                    </xs:annotation>

                  </xs:element>

                  <xs:element minOccurs="1" name="value" type="xs:string">
                    <xs:annotation>
                      <xs:documentation>The value of the declared varible.</xs:documentation>
                    </xs:annotation>

                  </xs:element>

                </xs:sequence>

              </xs:complexType>

            </xs:element>

          </xs:sequence>

        </xs:complexType>

      </xs:element>

    </xs:sequence>

  </xs:complexType>

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