refactor in createXML, see #139
refactor in createXML, see #139

concord-consortium/chipper,phetsims/chipper,concord-consortium/chipper,concord-consortium/chipper,phetsims/chipper,phetsims/chipper,concord-consortium/chipper