public static DiscoveryDocument Read (XmlReader xmlReader)
		{
			DiscoveryDocumentSerializer ser = new DiscoveryDocumentSerializer();
			return (DiscoveryDocument) ser.Deserialize (xmlReader);
		}
		public void Write (XmlWriter xmlWriter)
		{
			DiscoveryDocumentSerializer ser = new DiscoveryDocumentSerializer();
			ser.Serialize (xmlWriter, this, GetNamespaceList());
		}
		public void Write (Stream stream)
		{
			DiscoveryDocumentSerializer ser = new DiscoveryDocumentSerializer();
			ser.Serialize (stream, this, GetNamespaceList());
		}
        public void Write(XmlWriter xmlWriter)
        {
            DiscoveryDocumentSerializer ser = new DiscoveryDocumentSerializer();

            ser.Serialize(xmlWriter, this, GetNamespaceList());
        }
        public void Write(Stream stream)
        {
            DiscoveryDocumentSerializer ser = new DiscoveryDocumentSerializer();

            ser.Serialize(stream, this, GetNamespaceList());
        }
        public static DiscoveryDocument Read(XmlReader xmlReader)
        {
            DiscoveryDocumentSerializer ser = new DiscoveryDocumentSerializer();

            return((DiscoveryDocument)ser.Deserialize(xmlReader));
        }