/// <summary>
        /// Maps the specified XML.
        /// </summary>
        /// <param name="xml">The XML.</param>
        /// <returns></returns>
        public BuildDescriptor Map(XmlNode xml)
        {
            BuildDescriptor descriptor = null;

            if (xml != null)
            {
                descriptor = new BuildDescriptor
                                 {
                                     Number = xml.FindInteger("//number"),
                                     Url = new Uri(xml.Find("//url"))
                                 };
            }

            return descriptor;
        }
        /// <summary>
        /// Maps the specified XML.
        /// </summary>
        /// <param name="xml">The XML.</param>
        /// <param name="xpath">The xpath.</param>
        /// <returns></returns>
        public BuildDescriptor Map(XmlNode xml, string xpath)
        {
            BuildDescriptor descriptor = null;

            var node = xml.SelectSingleNode(xpath);

            if (node != null)
            {
                descriptor = new BuildDescriptor
                                 {
                                     Number = xml.FindInteger(xpath + "/number"),
                                     Url = new Uri(xml.Find(xpath + "/url"))
                                 };
            }

            return descriptor;
        }