//===========================================================================================
        private void ReplaceColorProfile(XElement annotation)
        {
            XElement restriction = new XElement(_Namespace + "restriction",
                                                new XAttribute("base", "xs:NMTOKEN"));

            foreach (string name in _GraphicsMagickNET.GetColorProfileNames())
            {
                restriction.Add(new XElement(_Namespace + "enumeration",
                                             new XAttribute("value", name)));
            }

            annotation.ReplaceWith(CreateVarElement("ColorProfile", restriction));
        }