static SegmentURL LoadSegmentURL(XElement element)
        {
            var result = new SegmentURL();

            result.Media      = (string)element.Attribute("media");
            result.MediaRange = (string)element.Attribute("mediaRange");
            result.Index      = (string)element.Attribute("index");
            result.IndexRange = (string)element.Attribute("indexRange");
            result.AnyAttr.AddRange(element.Attributes());

            result.Any.AddRange(element.Elements());

            return(result);
        }
        static SegmentURL LoadSegmentURL(XElement element)
        {
            var result = new SegmentURL();

            result.Media = (string)element.Attribute("media");
            result.MediaRange = (string)element.Attribute("mediaRange");
            result.Index = (string)element.Attribute("index");
            result.IndexRange = (string)element.Attribute("indexRange");
            result.AnyAttr.AddRange(element.Attributes());

            result.Any.AddRange(element.Elements());

            return result;
        }