Convert schema description stuff to / from XML