code: public static SpinXmlElement XML(Object input) {
      return SpinFactory.INSTANCE.createSpin(input, DataFormats.xml());
    }
docs: Creates a spin wrapper for a data input. The data format of the
  input is assumed to be XML.
  
  @param input the input to wrap
  @return the spin wrapper for the input
  
  @throws IllegalArgumentException in case an argument of illegal type is provided (such as 'null')