Skip to content

Instantly share code, notes, and snippets.

@sritasngh
Created January 25, 2021 11:02
Show Gist options
  • Save sritasngh/7f0e6822390161a388ebb904cac25c5e to your computer and use it in GitHub Desktop.
Save sritasngh/7f0e6822390161a388ebb904cac25c5e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<sbml level="3" version="1" xmlns="http://www.sbml.org/sbml/level3/version1/core">
<model extentUnits="mole" timeUnits="second">
<listOfUnitDefinitions>
<unitDefinition id="per_second">
<listOfUnits>
<unit kind="second" exponent="-1" scale="0" multiplier="1"/>
</listOfUnits>
</unitDefinition>
<unitDefinition id="litre_per_mole_second">
<listOfUnits>
<unit kind="mole" exponent="-1" scale="0" multiplier="1"/>
<unit kind="litre" exponent="1" scale="0" multiplier="1"/>
<unit kind="second" exponent="-1" scale="0" multiplier="1"/>
</listOfUnits>
</unitDefinition>
</listOfUnitDefinitions>
<listOfCompartments>
<compartment id="comp" size="1e-14" spatialDimensions="3" units="litre" constant="true"/>
</listOfCompartments>
<listOfSpecies>
<species compartment="comp" id="E" initialAmount="5e-21" boundaryCondition="false"
hasOnlySubstanceUnits="false" substanceUnits="mole" constant="false"/>
<species compartment="comp" id="S" initialAmount="1e-20" boundaryCondition="false"
hasOnlySubstanceUnits="false" substanceUnits="mole" constant="false"/>
<species compartment="comp" id="P" initialAmount="0" boundaryCondition="false"
hasOnlySubstanceUnits="false" substanceUnits="mole" constant="false"/>
<species compartment="comp" id="ES" initialAmount="0" boundaryCondition="false"
hasOnlySubstanceUnits="false" substanceUnits="mole" constant="false"/>
</listOfSpecies>
<listOfReactions>
<reaction id="veq" reversible="true" fast="false">
<listOfReactants>
<speciesReference species="E" stoichiometry="1" constant="true"/>
<speciesReference species="S" stoichiometry="1" constant="true"/>
</listOfReactants>
<listOfProducts>
<speciesReference species="ES" stoichiometry="1" constant="true"/>
</listOfProducts>
<kineticLaw>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<times/>
<ci>comp</ci>
<apply>
<minus/>
<apply>
<times/>
<ci>kon</ci>
<ci>E</ci>
<ci>S</ci>
</apply>
<apply>
<times/>
<ci>koff</ci>
<ci>ES</ci>
</apply>
</apply>
</apply>
</math>
<listOfLocalParameters>
<localParameter id="kon" value="1000000" units="litre_per_mole_second"/>
<localParameter id="koff" value="0.2" units="per_second"/>
</listOfLocalParameters>
</kineticLaw>
</reaction>
<reaction id="vcat" reversible="false" fast="false">
<listOfReactants>
<speciesReference species="ES" stoichiometry="1" constant="true"/>
</listOfReactants>
<listOfProducts>
<speciesReference species="E" stoichiometry="1" constant="true"/>
<speciesReference species="P" stoichiometry="1" constant="true"/>
</listOfProducts>
<kineticLaw>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<times/>
<ci>comp</ci>
<ci>kcat</ci>
<ci>ES</ci>
</apply>
</math>
<listOfLocalParameters>
<localParameter id="kcat" value="0.1" units="per_second"/>
</listOfLocalParameters>
</kineticLaw>
</reaction>
</listOfReactions>
</model>
</sbml>
extern crate xml;
use std::fs::File;
use std::io::BufReader;
use xml::reader::EventReader;
fn parse_file(filename: &str) {
let file = File::open(filename).unwrap();
let file = BufReader::new(file);
let parser = EventReader::new(file);//provides pull based xml parser
for event in parser {
println!("{:?}", event.unwrap());
}
}
fn main() {
parse_file("enzymekinetics.xml");
}
StartDocument(1.0, UTF-8, None)
StartElement({http://www.sbml.org/sbml/level3/version1/core}sbml, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [level -> 3, version -> 1])
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}model, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [extentUnits -> mole, timeUnits -> second])
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfUnitDefinitions, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}unitDefinition, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [id -> per_second])
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfUnits, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}unit, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [kind -> second, exponent -> -1, scale -> 0, multiplier -> 1])
EndElement({http://www.sbml.org/sbml/level3/version1/core}unit)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfUnits)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}unitDefinition)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}unitDefinition, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [id -> litre_per_mole_second])
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfUnits, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}unit, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [kind -> mole, exponent -> -1, scale -> 0, multiplier -> 1])
EndElement({http://www.sbml.org/sbml/level3/version1/core}unit)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}unit, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [kind -> litre, exponent -> 1, scale -> 0, multiplier -> 1])
EndElement({http://www.sbml.org/sbml/level3/version1/core}unit)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}unit, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [kind -> second, exponent -> -1, scale -> 0, multiplier -> 1])
EndElement({http://www.sbml.org/sbml/level3/version1/core}unit)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfUnits)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}unitDefinition)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfUnitDefinitions)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfCompartments, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}compartment, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [id -> comp, size -> 1e-14, spatialDimensions -> 3, units -> litre, constant -> true])
EndElement({http://www.sbml.org/sbml/level3/version1/core}compartment)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfCompartments)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfSpecies, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}species, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [compartment -> comp, id -> E, initialAmount -> 5e-21, boundaryCondition -> false, hasOnlySubstanceUnits -> false, substanceUnits -> mole, constant -> false])
EndElement({http://www.sbml.org/sbml/level3/version1/core}species)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}species, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [compartment -> comp, id -> S, initialAmount -> 1e-20, boundaryCondition -> false, hasOnlySubstanceUnits -> false, substanceUnits -> mole, constant -> false])
EndElement({http://www.sbml.org/sbml/level3/version1/core}species)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}species, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [compartment -> comp, id -> P, initialAmount -> 0, boundaryCondition -> false, hasOnlySubstanceUnits -> false, substanceUnits -> mole, constant -> false])
EndElement({http://www.sbml.org/sbml/level3/version1/core}species)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}species, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [compartment -> comp, id -> ES, initialAmount -> 0, boundaryCondition -> false, hasOnlySubstanceUnits -> false, substanceUnits -> mole, constant -> false])
EndElement({http://www.sbml.org/sbml/level3/version1/core}species)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfSpecies)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfReactions, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}reaction, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [id -> veq, reversible -> true, fast -> false])
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfReactants, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [species -> E, stoichiometry -> 1, constant -> true])
EndElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [species -> S, stoichiometry -> 1, constant -> true])
EndElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfReactants)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfProducts, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [species -> ES, stoichiometry -> 1, constant -> true])
EndElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfProducts)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}kineticLaw, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}math, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}apply, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}times, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
EndElement({http://www.w3.org/1998/Math/MathML}times)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(comp)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}apply, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}minus, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
EndElement({http://www.w3.org/1998/Math/MathML}minus)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}apply, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}times, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
EndElement({http://www.w3.org/1998/Math/MathML}times)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(kon)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(E)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(S)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
EndElement({http://www.w3.org/1998/Math/MathML}apply)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}apply, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}times, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
EndElement({http://www.w3.org/1998/Math/MathML}times)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(koff)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(ES)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
EndElement({http://www.w3.org/1998/Math/MathML}apply)
Whitespace(
)
EndElement({http://www.w3.org/1998/Math/MathML}apply)
Whitespace(
)
EndElement({http://www.w3.org/1998/Math/MathML}apply)
Whitespace(
)
EndElement({http://www.w3.org/1998/Math/MathML}math)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfLocalParameters, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}localParameter, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [id -> kon, value -> 1000000, units -> litre_per_mole_second])
EndElement({http://www.sbml.org/sbml/level3/version1/core}localParameter)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}localParameter, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [id -> koff, value -> 0.2, units -> per_second])
EndElement({http://www.sbml.org/sbml/level3/version1/core}localParameter)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfLocalParameters)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}kineticLaw)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}reaction)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}reaction, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [id -> vcat, reversible -> false, fast -> false])
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfReactants, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [species -> ES, stoichiometry -> 1, constant -> true])
EndElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfReactants)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfProducts, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [species -> E, stoichiometry -> 1, constant -> true])
EndElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [species -> P, stoichiometry -> 1, constant -> true])
EndElement({http://www.sbml.org/sbml/level3/version1/core}speciesReference)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfProducts)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}kineticLaw, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}math, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}apply, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}times, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
EndElement({http://www.w3.org/1998/Math/MathML}times)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(comp)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(kcat)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
StartElement({http://www.w3.org/1998/Math/MathML}ci, {"": "http://www.w3.org/1998/Math/MathML", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Characters(ES)
EndElement({http://www.w3.org/1998/Math/MathML}ci)
Whitespace(
)
EndElement({http://www.w3.org/1998/Math/MathML}apply)
Whitespace(
)
EndElement({http://www.w3.org/1998/Math/MathML}math)
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}listOfLocalParameters, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
Whitespace(
)
StartElement({http://www.sbml.org/sbml/level3/version1/core}localParameter, {"": "http://www.sbml.org/sbml/level3/version1/core", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [id -> kcat, value -> 0.1, units -> per_second])
EndElement({http://www.sbml.org/sbml/level3/version1/core}localParameter)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfLocalParameters)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}kineticLaw)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}reaction)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}listOfReactions)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}model)
Whitespace(
)
EndElement({http://www.sbml.org/sbml/level3/version1/core}sbml)
EndDocument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment