Writes the XML Schema to the supplied System.Xml.XmlWriter.
writer The System.Xml.XmlWriter to write to.