code: def write_single_xso(x, dest):
      
      gen = XMPPXMLGenerator(dest,
                             short_empty_elements=True,
                             sorted_attributes=True)
      x.unparse_to_sax(gen)
docs: Write a single XSO `x` to a binary file-like object `dest`.