IDMW 2.0 XML-Schema Dokumentation
FORMULA Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > FEATURE_DEFINITION Element > FORMULAS Element : FORMULA Element
Description
The element serves the purpose of defining a formula.The attribute FORMULA_KEY contains the identifier, the FORMULA_STRING contains the actual formula.
Namespace (none)
Diagram
FORMULA_STRING Element Sequence FORMULA Element
Overview
FORMULA 1..∞
The element serves the purpose of defining a formula.The attribute FORMULA_KEY contains the identifier, the FORMULA_STRING contains the actual formula.
FORMULA_KEY required Restriction of xs:string
This attribute is used to define the key for the formula.    D   string
   P   
   M   [1:30]
Sequence
FORMULA_STRING Restriction of xs:string
This element is used to specify a formula.    D   string
   P   [+\-*/()A-Za-z. ]{0,}
   M   
Attributes
NameTypeUseDefaultFixedDescription
FORMULA_KEYRestriction of xs:stringrequired  
This attribute is used to define the key for the formula.    D   string
   P   
   M   [1:30]
Source
<xs:element name="FORMULA" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="FORMULA_STRING">
        <xs:annotation>
          <xs:documentation xml:lang="DE">Formeln dürfen nur Parameter enthalten, die an der Variantenart definiert wurden.</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="[+\-*/()A-Za-z0-9. ]*" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="FORMULA_KEY" use="required">
      <xs:annotation>
        <xs:documentation>260--0--NEW</xs:documentation>
        <xs:documentation>Version Beta 2.0 Build 0</xs:documentation>
        <xs:documentation>17.01.2013 - Version 2.2.5 Polsterbranche - von 5 auf 30stellig geändert</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1" />
          <xs:maxLength value="30" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also
FORMULAS ElementFEATURE_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation