I want to output like
id = C00001 name = H2O id = C00002 name = ATP
And input like
ids = {"C00001","C00002"...} names = {"H2O", "ATP"...}
How to code?
I can read like
<spescies>H2O</species>
But I cant read like:
<species id="C00001" name="H2O"/>
Here the whole XML example:
<?xml version="1.0" encoding="UTF-8" ?>
<sbml xmlns="http://www.sbml.org/sbml/level2" level="2" version="1"
xmlns:html="http://www.w3.org/1999/xhtml">
<model id="ehmn">
<listOfCompartments>
<compartment id="Human"/>
</listOfCompartments>
<listOfSpecies>
<species id="C00001" name="H2O"/>
<species id="C00002" name="ATP"/>
<species id="C00003" name="NAD+"/>
<species id="C00004" name="NADH"/>
</listOFSpeceies>
</model>
</sbml>
no error