Java tutorial
//package com.java2s; public class Main { /** * Composes the xml for an authtoken request */ public static String composeAuthTokenRequestXml(String email, String password) { return String.format("<user><email>%s</email><password>%s</password></user>", email, password); } }