static VmapExtension LoadExtension(XElement extensionXml)
        {
            var result = new VmapExtension();

            var innerExtensionXml = extensionXml.Elements().FirstOrDefault();

            if (innerExtensionXml != null)
            {
                result.Xml = innerExtensionXml.ToString();
            }

            result.Type = (string)extensionXml.Attribute("type");

            return(result);
        }
        static VmapExtension LoadExtension(XElement extensionXml)
        {
            var result = new VmapExtension();

            var innerExtensionXml = extensionXml.Elements().FirstOrDefault();
            if (innerExtensionXml != null)
            {
                result.Xml = innerExtensionXml.ToString();
            }

            result.Type = (string)extensionXml.Attribute("type");

            return result;
        }