Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Flex ºÍC++ Ö®¼ä´«Êä½á¹¹ÌåÊý¾Ý ÓÃXML´«Êä

Flex ºÍC++ Ö®¼ä´«Êä½á¹¹ÌåÊý¾Ý
Ò»Ö±ÏëÊÔÑéÓýṹÌå´«Êý¾Ý
µ«ÊÇFlex ºÍC++ µÄÀàÐÍËùÕ¼µÄ×Ö½ÚÊýÓÐʱ²»Ò»Ñù
Èçint ÔÚC++ÖÐÕ¾2¸ö×Ö½Ú£¬¶øÔÚFlexÖÐÕ¼4¸ö×Ö½Ú¡£
ת»»±È½ÏÂé·³¡£
×îºó¾ö¶¨ÓÃXML½øÐд«Êä
È»ºóÁ½±ß¶¼¼ÓÒ»¸öXML ½âÎöºÍ·â×°Àà¡£
C++ ¶ËʹÓõÄtinyXML Àà
FlexÖ±½ÓʹÓÃ×Ô¼º´øµÄ E4X Àà
Flex´úÂëÈçÏÂ
   var xmlstr:String="<COMMAND>";
            var xmlList:XMLList=new XMLList();
           
            xmlstr+="SENDRIQI";
            xmlstr+="</COMMAND>"
            var xmldoc:XMLDocument=new XMLDocument(xmlstr);
            var xml:XML=new XML(xmldoc);
            socket.writeMultiByte(xmldoc.toString(),"UTF-8");   //socket ΪSocket Àà´´½¨µÄ¶ÔÏó
   socket.flush();


Ïà¹ØÎĵµ£º

C#¶ÔXML¶Áд

תÔØ×Ô£ºhttp://virgos.javaeye.com/blog/611146
Ò»£®Ç°ÑÔ£º
XMLÊÇ΢Èí.NetÕ½ÂÔµÄÒ»¸öÖØÒª×é³É²¿·Ö£¬¶øÇÒËü¿ÉνÊÇXML Web·þÎñµÄ»ùʯ£¬ËùÒÔÕÆÎÕ.Net¿ò¼ÜϵÄXML¼¼Êõ×ÔÈ»ÏԵ÷dz£ÖØÒªÁË¡£±¾ÎĽ«Ö¸µ¼´ó¼ÒÈçºÎÔËÓÃC#ÓïÑÔÍê³É.Net¿ò¼ÜϵÄXMLÎĵµµÄ¶Áд²Ù×÷¡£Ê×ÏÈ£¬ÎÒ»áÏò´ó¼Ò½éÉÜ.Net¿ò¼ÜÖÐÓëXMLÏà¹ØµÄÃüÃû¿Õ¼äºÍÆäÖеÄÖØÒªÀ ......

°ÑÎı¾¿òµÄֵдÈëµ½xmlÎļþÖÐ

 protected void btn_write_Click(object sender, EventArgs e)
    {
        XmlWriterSettings settings=new XmlWriterSettings();
        settings.Indent=true;
        setting ......

C\C++ÖÐÊý×éÔªËØϱêÔ½½ç¿ÉÄÜÒýÆðµÄÎÊÌâ

Êý×éÊÇÀàÐÍÏàͬµÄ¶ÔÏóµÄÐòÁУ¬ÆäÖеĶÔÏó³ÆΪÊý×éÔªËØ¡£Ò²¿ÉÒÔ½«Êý×éÏëÏñ³ÉÒ»Á¬´®µÄÓÃϱêÖµ±àºÅµÄÏàÁÚ´æ´¢Çø¡£
       ¿ÉÄÜÔÚijЩ±à³ÌÓïÑÔÖУ¬Ò»¸öϱê±äÁ¿ÊDz»ÔÊÐí³¬³öÊý×鶨ÒåÖÐËùÉèµÄ½çÏ޵ġ£µ«ÊÇÔÚCºÍC++ÖУ¬Êý×éÊÇûÓÐÕâÖÖ°²È«´ëÊ©µÄ¡£ÏÂÃæÏÈÀ´¿´¿´Êý×éϱêÔ½½çµÄ¼¸ÖÖÒì³£½á¹û¡£
&nb ......

Flex AdvancedDataGridµÄʹÓã¬Ë­ÄܸæËßÎÒѽ£¿

×¢£ºµÚÒ»ÁÐÊÇ´øCheckboxµÄTree¡£
»¹ÓÐÎÊÌâÇë½Ì¸÷λ£º
   labelFieldÊÇÔªËضÔÏóµÄÊôÐÔÊÇÏÔʾ²»ÁË£¨carInfo.car_name£©£¬ºÃÏñÖ»¿ÉÏÔʾͬ¼¶µÄÊôÐÔÔõô½â¾ö£¿Ï£Íû¸÷λÄÜ°ïÖúÎÒ£¬Thanks!
 <mx:AdvancedDataGrid id="adg"  width="100%" height="100%" dataProvider="{instance.cars}"
  &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ