// -------------------------------------------------------------------------------
        // -------------------------------------------------------------------------------
        /// <summary>
        /// Loads the RssMediaContent properties with the contents of the Parent XElement
        /// </summary>
        /// <param name="parEl">XElement</param>
        // -------------------------------------------------------------------------------
        // -------------------------------------------------------------------------------
        public void Load(XElement parEl)
        {
            if (parEl.Name.Namespace == RSS.MEDIA_NS ||
                parEl.Name.Namespace == RSS.DUBLIN_CORE_TERMS_NS ||
                parEl.Name.Namespace == RSS.GEORSS_NS ||
                parEl.Name.Namespace == RSS.GML_NS)
            {
                // we are just going to load all the media options...if there are any
                IEnumerable <XElement> lstEl = parEl.Elements();
                foreach (XElement el in lstEl)
                {
                    mediaOptions.LoadEl(el);
                }



                IEnumerable <XAttribute> lstAttr = parEl.Attributes();
                foreach (XAttribute attr in lstAttr)
                {
                    switch (attr.Name.LocalName)
                    {
                    case ATTR_URL:
                        url = xUtil.GetAttrStr(attr);
                        break;

                    case ATTR_FILESIZE:
                        fileSize = xUtil.GetAttrLong(attr);
                        break;

                    case ATTR_TYPE:
                        type = xUtil.GetAttrStr(attr);
                        break;

                    case ATTR_MEDIUM:
                        medium = xUtil.GetAttrStr(attr);
                        break;

                    case ATTR_ISDEFAULT:
                        isDefault = xUtil.GetAttrBool(attr, RssXmlUtilities.BOOL_FORMAT_TRUE_FALSE);
                        break;

                    case ATTR_EXPRESSION:
                        expression = xUtil.GetAttrStr(attr);
                        break;

                    case ATTR_BITRATE:
                        bitrate = xUtil.GetAttrInt(attr);
                        break;

                    case ATTR_FRAMERATE:
                        frameRate = xUtil.GetAttrInt(attr);
                        break;

                    case ATTR_SAMPLINGRATE:
                        samplingrate = xUtil.GetAttrDbl(attr);
                        break;

                    case ATTR_CHANNELS:
                        channels = xUtil.GetAttrInt(attr);
                        break;

                    case ATTR_DURATION:
                        duration = xUtil.GetAttrLong(attr);
                        break;

                    case ATTR_HEIGHT:
                        height = xUtil.GetAttrInt(attr);
                        break;

                    case ATTR_WIDTH:
                        width = xUtil.GetAttrInt(attr);
                        break;

                    case ATTR_LANG:
                        lang = xUtil.GetAttrStr(attr);
                        break;
                    }
                }
            }
        }