code: function formatXML(xmltemplate, fields) {
              var params = {
                  email: self.email,
                  password: self.password,
                  account: self.account,
                  role: self.role
              };
              for (var i in fields) {
                  params[i] = fields[i];
              }
              return format(xmltemplate, params);
          }
docs: Private Implementations: