code: public static <T> String toXmlWithXStream(final XStream xstream, final T objectToXML)
  	{
  		return toXmlWithXStream(xstream, objectToXML, null);
  	}
docs: Creates from the given Object an xml string.
  
  @param <T>
  the generic type of the object that will be transformed to xml
  @param xstream
  the xstream object.
  @param objectToXML
  the object to xml
  @return the xml string