| Figure 181: DTD-diagram for SW-FUNCTION-VARIANT
Child elements | <admin-data> <variant-def-refs> <sw-function-def> <sw-function-desc> <sw-fulfils> <sw-function-variables> <sw-param-refs> <sw-data-dictionary-spec> <sw-param-contents-spec> <sw-test-spec> <sw-application-notes> <sw-maintenance-notes> <sw-carb-doc> <sw-decomposition> <annotations> <add-info>
parent elements | <sw-function-variants>
Attributes for SW-FUNCTION-VARIANT
Name | Type | Class | Value | Remark
--- | --- | --- | --- | ---
[S] | cdata | implied |  |
Description Function variant. If no function variants are used, then a minimum of one still has to be given. Each function variant must be completely described in the implementation V1.1.0, i.e. there is no re-use. A features bar in <project-data> ... <var-def> (function switch) can be referenced by means of < variant-def-ref>. Example
    <sw-function id="EGR">
       <long-name>exhaust-gas return</long-name>
       <short-name>EGR</short-name>
       <sw-function-class>documentation only</sw-function-class>
       <sw-function-variants>
          <sw-function-variant>

             <variant-def-refs>
                <variant-def-ref variant-def="v1.2"></variant-def-ref>
                <variant-def-ref variant-def="v1.3"></variant-def-ref>
             </variant-def-refs>
             <sw-function-def> ...</sw-function-def>
             <sw-function-desc> ... </sw-function-desc>
             <sw-function-variables> ... </sw-function-variables>
             <sw-param-refs> ... </sw-param-refs>
             <sw-test-spec> ... </sw-test-spec>
             <sw-application-notes> ... </sw-application-notes>
             <sw-maintenance-notes> ... </sw-maintenance-notes>
             <sw-carb-doc> ... </sw-carb-doc>
             <sw-decomposition> ... </sw-decomposition>
             <add-info></add-info>

          </sw-function-variant>
       </sw-function-variants>
    </sw-function>