Saves specified schema to XDocument object.
XElement object which contains xml description of saved schema.