External Definition (2nd Root)


The ExternalDefiniton element defines an alternative root element for MPFO-XML documents. It allows the definition of mission profile information that is either independent of a component or which contains reusable and/or standardized information. This element is used by the XML XInlude mechanism of MPFO-XML documents to allow the validation of externally defined MPFO-XML data (e.g., stdlib.xml or LV124.xml). The usability of MPFO-XML documents is greatly improved by the ExternalDefiniton and Include elements since standard definitions, such as standard loads or functions, can be defined in a reusable and modular fashion.

Definition of ‘ExternalDefinition’ Element

The ExternalDefinition element is formally defined here: ExternalDefinition

Parsing Directives and Checks on Application Level

By itself, MPFO-XML documents with a root element ExternalDefiniton represent valid XML documents. They can be validated with XML tools as described in section Document Validation.

The ExternalDefiniton element and its contents shall be ignored (with a warning) during the processing of MPFO-XML documents since they do not represent valid and self-contained MPFO-XML documents on their own.


Example 1: Excerpt from the ./include/LV124.xml MPOF-XML file which uses *ExternalDefinition* as (alternative) root element

<?xml version="1.0" encoding="UTF-8"?>
<ExternalDefinition xmlns="http://www.mpfo.org/mpfo-0.7"
            <!-- Load E-01: Long-term Overvoltage -->
            <Load Id="ID.Load-LV124-E-01">
                <LoadQuantity Symbol="U">
                    <SymbolicFunction Id="ID.SymbolicFunction-LV124-E-01">
                        <!-- Function: U(t) with parameters Umax (V), Umin (V), tr (s), tf (s), t1 (s) -->
                        <SymbolicFunctionTemplate Id="ID.SymbolicFunctionTemplate-LV124-E-01" Symbol="U">
                                    <mml:csymbol cd="SI_NamedDerivedUnits1">volt</mml:csymbol>
                                <ArgumentWithUnit Symbol="t">
                                            <mml:csymbol cd="SI_BaseUnits1">second</mml:csymbol>



Example 2: Include of externally defined MPFO-XML data in a mission profile document

<MPFo xmlns:m="http://www.w3.org/1998/Math/MathML"
    xsi:schemaLocation="http://www.mpfo.org/mpfo-0.7 http://www.mpfo.org/mpfo-0.7/mpfo.xsd"
    ShortDescription="Example: Simple two-port electrical resistor R1 that is operated with a DC current for 55h at 298K (25C) and 350h at 423K (150C)">

    <!-- Include external definitions -->
        <!-- Include external MPFO standard definitions -->
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./include/stdlib.xml"/>
        <!-- Include external load definitions from LV124 -->
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./include/LV124.xml"/>

Example 3: MPFO-XML document with encrypted contents


To be added!