// to have the automatic indentation working, we should probably only be using StaxMate classes and not directly StAX
// outputDocument.setIndentation("\n ", 1, 1);
String SBMLNamespace = JSBML.getNamespaceFrom(sbmlDocument.getLevel(),
sbmlDocument.getVersion());
SMOutputContext context = outputDocument.getContext();
context.setIndentation("\n" + createIndentationString(indentCount), 1, 2);
SMNamespace namespace = context.getNamespace(SBMLNamespace);
namespace.setPreferredPrefix("");
outputDocument.addCharacters("\n");
/*
* Write a comment to track which program created this SBML file and