public WBAccessUpdateResponse(string xmlFile)
 {
     if (xmlFile!=string.Empty)
     {
         XmlDocument xmldoc = new XmlDocument();
         xmldoc.LoadXml(xmlFile);
         XmlNode xnroot = xmldoc.SelectSingleNode("status");
         SinaStatus s = SinaModelFactory.CreateStatus(xmldoc.SelectSingleNode("status"));
         s.user = SinaModelFactory.CreateUser(xnroot.SelectSingleNode("user"));
         this._status = s;
     }
 }
        public static SinaStatus CreateStatus(XmlNode xnStatus)
        {
            SinaStatus s = null;

            if (xnStatus!=null)
            {
                s = new SinaStatus();

                //                <created_at>Mon Dec 13 14:55:05 +0800 2010</created_at>
                s.created_at = xnStatus.SelectSingleNode("created_at").InnerText;

                //<id>4288554507</id>
                s.id = Convert.ToInt64(xnStatus.SelectSingleNode("id").InnerText);

                //<text>abcedf</text>
                s.text = xnStatus.SelectSingleNode("text").InnerText;

                //<source>
                //  <a href="http://open.t.sina.com.cn">΢������ƽ̨�ӿ�</a>
                //</source>
                s._source = xnStatus.SelectSingleNode("source").InnerText;
                //<favorited>false</favorited>
                s._favorited = Convert.ToBoolean(xnStatus.SelectSingleNode("favorited").InnerText);
                //<truncated>false</truncated>
                s._truncated = Convert.ToBoolean(xnStatus.SelectSingleNode("truncated").InnerText);

                //<geo/>

                //<in_reply_to_status_id></in_reply_to_status_id>
                s._in_reply_to_status_id = xnStatus.SelectSingleNode("in_reply_to_status_id").InnerText;
                //<in_reply_to_user_id></in_reply_to_user_id>
                s._in_reply_to_user_id = xnStatus.SelectSingleNode("in_reply_to_user_id").InnerText;

                //<in_reply_to_screen_name></in_reply_to_screen_name
                s._in_reply_to_screen_name = xnStatus.SelectSingleNode("in_reply_to_screen_name").InnerText;

                s._thrumbnail_pic = xnStatus.SelectSingleNode("thrumbnail_pic") != null ? xnStatus.SelectSingleNode("thrumbnail_pic").InnerText : null;
                s._original_pic = xnStatus.SelectSingleNode("original_pic") != null ? xnStatus.SelectSingleNode("original_pic").InnerText : null;
                s._bmiddle_pic = xnStatus.SelectSingleNode("bmiddle_pic") != null ? xnStatus.SelectSingleNode("bmiddle_pic").InnerText : null;

            }
            return s;
        }