static SegmentTemplate LoadSegmentTemplate(XElement element)
        {
            var result = new SegmentTemplate();

            PopulateMultipleSegmentBase(element, result);

            result.Media = (string)element.Attribute("media");
            result.Index = (string)element.Attribute("index");
            result.InitializationValue     = (string)(element.Attribute("initialisation") ?? element.Attribute("initialization"));
            result.BitstreamSwitchingValue = (string)element.Attribute("bitstreamSwitching");

            return(result);
        }
        static SegmentTemplate LoadSegmentTemplate(XElement element)
        {
            var result = new SegmentTemplate();
            PopulateMultipleSegmentBase(element, result);

            result.Media = (string)element.Attribute("media");
            result.Index = (string)element.Attribute("index");
            result.InitializationValue = (string)(element.Attribute("initialisation") ?? element.Attribute("initialization"));
            result.BitstreamSwitchingValue = (string)element.Attribute("bitstreamSwitching");

            return result;
        }