sbml 0.2.2

A parser for SBML
Documentation
<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level3/version2/core" level="3" version="2">
    <model volumeUnits="litre" substanceUnits="mole" timeUnits="second" extentUnits="mole">
        <listOfUnitDefinitions>
            <unitDefinition id="per_second">
                <listOfUnits>
                    <unit kind="second" exponent="-1" scale="0" multiplier="1"/>
                </listOfUnits>
            </unitDefinition>
        </listOfUnitDefinitions>
        <listOfCompartments>
            <compartment id="cell" size="1" spatialDimensions="3" constant="true"/>
        </listOfCompartments>
        <listOfSpecies>
            <species id="X0" compartment="cell" initialConcentration="1" constant="false" hasOnlySubstanceUnits="false" boundaryCondition="false"/>
            <species id="X1" compartment="cell" initialConcentration="0" constant="false" hasOnlySubstanceUnits="false" boundaryCondition="false"/>
            <species id="T" compartment="cell" initialConcentration="0" constant="false" hasOnlySubstanceUnits="false" boundaryCondition="false"/>
            <species id="S1" compartment="cell" initialConcentration="0" constant="false" hasOnlySubstanceUnits="false" boundaryCondition="false"/>
            <species id="S2" compartment="cell" initialConcentration="0" constant="false" hasOnlySubstanceUnits="false" boundaryCondition="false"/>
        </listOfSpecies>
        <listOfParameters>
            <parameter id="Keq" value="2.5" units="dimensionless" constant="true"/>
        </listOfParameters>
        <listOfRules>
            <assignmentRule variable="S1">
                <math xmlns="http://www.w3.org/1998/Math/MathML" 
                    xmlns:sbml="http://www.sbml.org/sbml/level3/version2/core">
                    <apply>
                        <divide/>

                        <ci> T </ci>
                        <apply>
                            <plus/>
                            <cn sbml:units="dimensionless"> 1 </cn>
                            <ci> Keq </ci>
                        </apply>
                    </apply>
                </math>
            </assignmentRule>
            <assignmentRule variable="S2">
                <math xmlns="http://www.w3.org/1998/Math/MathML">
                    <apply>
                        <times/>
                        <ci> Keq </ci>
                        <ci> S1 </ci>
                    </apply>
                </math>
            </assignmentRule>
        </listOfRules>
        <listOfReactions>
            <reaction id="in" reversible="false">
                <listOfReactants>
                    <speciesReference species="X0" stoichiometry="1" constant="true"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="T" stoichiometry="1" constant="true"/>
                </listOfProducts>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <times/>
                            <ci> k1 </ci>
                            <ci> X0 </ci>
                            <ci> cell </ci>
                        </apply>
                    </math>
                    <listOfLocalParameters>
                        <localParameter id="k1" value="0.1" units="per_second"/>
                    </listOfLocalParameters>
                </kineticLaw>
            </reaction>
            <reaction id="out" reversible="false">
                <listOfReactants>
                    <speciesReference species="T" stoichiometry="1" constant="true"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="X1" stoichiometry="1" constant="true"/>
                </listOfProducts>
                <listOfModifiers>
                    <modifierSpeciesReference species="S2"/>
                </listOfModifiers>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <times/>
                            <ci> k2 </ci>
                            <ci> S2 </ci>
                            <ci> cell </ci>
                        </apply>
                    </math>
                    <listOfLocalParameters>
                        <localParameter id="k2" value="0.15" units="per_second"/>
                    </listOfLocalParameters>
                </kineticLaw>
            </reaction>
        </listOfReactions>
    </model>
</sbml>