Inheritance: IOpenSearchResultItem
        public RdfXmlDocument(IOpenSearchResultCollection results) : base() {

            if (results.Title != null)
                Title = results.Title;
            else
                Title = new TextSyndicationContent("");
            
            Identifier = results.Identifier;
            Id = results.Id;

            duration = results.QueryTimeSpan;
            openSearchable = results.OpenSearchable;


            elementExtensions = results.ElementExtensions;
            TotalResults = results.TotalResults;
            Links = results.Links;
            Authors = results.Authors;

            LastUpdatedTime = results.LastUpdatedTime;
            if (results.Items != null) {
                items = new List<RdfXmlResult>();
                foreach (var item in results.Items) {
                    var newItem = new RdfXmlResult(item);
                    newItem.Parent = this;
                    items.Add(newItem);
                }
            }

            series = new XElement(dclite4gns + "Series",
                                  new XElement(dcns + "identifier", Identifier),
                                  new XElement(dcns + "title", Title.Text),
                                  new XAttribute(rdfns + "about", Id)
            );

        }
        List<RdfXmlResult> LoadItems(IEnumerable<XElement> datasets) {

            List<RdfXmlResult> items = new List<RdfXmlResult>();

            foreach (XElement dataSet in datasets) {

                var item = new RdfXmlResult(dataSet, series);
                items.Add(item);

            }

            return items;
        }