code: static void addXMLDecl(StringBuilder xml, String versionInfo)
    {
      xml.append("<?xml version=\"").append(versionInfo).append("\"?>\n");
    }
docs: Adds the XML declaration (<code>&lt;?xml version="1.0" ?&gt;</code>)
  
  @param xml which buffer to append to
  @param versionInfo the version info