| MathSBML Home Page | MathSBML Site Map |
SBMLCopy |
||||||||||
|
SBMLCopy[input, output, options] makes a copy of an SBML file to another SBML file, filtering the file through Mathematica's XML support to pretty-print the output in a more readable form. The content of the XML is unchanged, but the formatting/indentation is standardized. The names of the file must be specified as strings. If the output file already exists the output will be displayed on the screen. When checking for a pre-existing output file, the comparison is case-insensitive. SBMLCopy[input] will write the output to the screen instead of to a file. Options
Example
SBMLCopy["messyfile.xml",
"cleanfile.xml",
ImportOptions->{CharacterEncoding->"UTF8"},
ExportOptions->{CharacterEncoding->"PrintableASCII"} ]
Download input as text file (this may not work properly in some browsers), or as a zip file Download output as text file (this may not work properly in some browsers), or as a zip file. |