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

ÔÚMFC³ÌÐòÖÐʹÓÃXMLÎļþÅäÖù¤¾ßÀ¸

ÔÚMFC³ÌÐòÖÐʹÓÃXMLÎļþÅäÖù¤¾ßÀ¸
×÷ÕߣºÖì½ð²Ó
À´Ô´£ºhttp://www.cnblogs.com/clever101
ÏÖÔÚÎÒ·¢ÏÖʹÓÃVisual StudioµÄ×ÊÔ´±à¼­Æ÷½øÐб༭×ÊÔ´ÓÐ×ÅÖî¶àµÄ²»±ã£ºÊ×ÏÈÊÇÈκÎ×ÊÔ´µÄ±ä¶¯Ò»°ã±ä¶¯´úÂ룬²»ÀûÓÚϵͳά»¤£¬Æä´ÎVisual StudioµÄ×ÊÔ´±à¼­Æ÷µÄ±¾ÉíµÄ¹¦ÄÜÓÐÏÞ£¬Ò²²»ÀûÓÚ½çÃæÃÀ»¯£¬ÈýÊDz»ÀûÓÚÈËÔ±·Ö¹¤£¬¿ª·¢ÈËÔ±¼ÈҪæʵÏÖ¹¦ÄÜ£¬ÓÖҪæ׼±¸ºÃµÄ½çÃæËزġ£¶Ô½çÃæʵÏÖÎļþÅäÖû¯ÕýÊǽâ¾öÉÏÃæÎÊÌâµÄºÃ·½·¨¡£Õâ´ÎÎÒʵÏÖÁËʹÓÃXMLÎļþÅäÖù¤¾ßÀ¸¡£ÕâÀïËùνÅäÖþÍÊǹ¤¾ßÀ¸µÄ½çÃæÐÅÏ¢È繤¾ßÀ¸±êÌâ¡¢°´Å¥Í¼Æ¬¡¢ÊÇ·ñΪ·Ö¸ô·û¶¼ÔÚXMLÎļþ±£´æ£¬³ÌÐòͨ¹ý½âÎöXMLÎļþÀ´»ñÈ¡¹¤¾ßÀ¸ÐÅÏ¢À´´´½¨¹¤¾ßÀ¸¡£ÕâÑùÒ»µ©·¢ÏÖ½çÃæ²»ºÏÊÊ¿ÉÒÔËæʱÐÞ¸ÄÅäÖÃÎļþ£¬Í¬Ê±ÀûÓÚÈËÔ±·Ö¹¤¡£
¾ßÌåµÄ×ö·¨ÈçÏ£º
1.       ÔÚ¹¤³ÌµÄÊä³öĿ¼ÏÂÓÐÒ»¸öSysConfig.xml£¬×÷ΪϵͳÅäÖÃÎļþ¡£ÆäÖйØÓÚ¹¤¾ßÀ¸µÄÅäÖò¿·ÖÈçÏ£º
       <AppToolbar valid="1" caption="»ù´¡¹¤¾ß">
            <ToolButton file="Add.bmp" />
            <ToolButton separator="true" />
            <ToolButton file="Benchmark.bmp" />
            <ToolButton file="Comment.bmp" />
            <ToolButton file="Convert.bmp" />
            <ToolButton file="Delete.bmp" />
            <ToolButton file="Exit.bmp" />
        </AppToolbar>
       
¼òµ¥½âÊÍÒ»ÏÂÉÏÃæµÄ½ÚµãÒâÒ壺valid±íʾ¹¤¾ßÀ¸ÊÇ·ñÓÐЧ£¬caption±íʾ¹¤¾ßÀ¸±êÌ⣬file½ÚµãΪ¹¤¾ßÀ¸°´Å¥ËùÌùͼƬ£¬separator±íʾ°´Å¥ÊÇ·Ö¸ô·û¡£
 
2.    


Ïà¹ØÎĵµ£º

[Flex]xmlÓëFlexͨÐŵÄÑо¿

Ñо¿E4XÓëFlexµÄ¹Øϵ£¬ËùÒÔ´òËã×ܽáһϣ¬ÓÐ˵µÄ²»¶ÔµÄµØ·½£¬»¹Çë´ó¼Ò¶à¶àÔ­Á¡£
Ò»¡¢×î¼òµ¥Ä£Ê½£ºFlexͨ¹ýhttpserviceºÍdataProvider½øÐÐÊý¾Ý´«Êä
Xml¸ñʽÈçÏ£º
<?xml version="1.0" encoding="utf-8" ?>
<Result>
<NodeA>value1</NodeA>
<NodeB>valve2</NodeB>
…&he ......

flexÖÐxmlת»¯ÎªarrayʵÀý

±¾ÎĹ²Á½¸öÎļþ£ºtranslate.mxml ºÍ mapmarking.xml
1¡¢translate.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="librar ......

J2MEÖÐKXMLÓëNanoXML½âÎöXML×ܽá

ÔÚJ2MEÌåϵÖУ¬¶ÔxmlµÄ½âÎöÓбȽÏÓÐÃûµÄµÚÈý·½½âÎöAPI£¬·Ö±ðΪKXMLºÍNanoXML£¬ËûÃǶ¼ÌṩÁ˶ԽâÎöxmlµÄÖ§³Ö¡£KXMLÔÚ½âÎöXML¹ý³ÌÖлá¶ÔÎļþÄÚÈÝÒ»²ãÒ»²ã½øÐнâÎö£¬Òò´Ë³ÉΪÔöÁ¿Ê½½âÎöÆ÷£¬±È½ÏÊʺϴóÎļþµÄ½âÎö¡£¶øNanoXMLÊÇÒ»´ÎÐÔ½âÎöÆ÷£¬ÔÚÒ»´Îʱ¼äÀï¾Í°ÑÕû¸öxmlÎĵµ½âÎöÍ꣬Òò´Ë²»ÊʺϴóÎļþµÄ½âÎö£¬»áÔì³ÉÄÚ´æ²»×ãµÄÏÖÏó¡ ......

StrutsÖÐÀûÓÃactionÀ´Êä³öxmlÎļþ

      Ó¦Ò»¸öͬʵÄÒªÇó£¬ÒªÀûÓÃstrtusµÄAction½«Ò»¸öÊý¾Ý¿â±íµÄÊý¾ÝÊä³öΪxml¸ñʽµÄÊý¾Ý£¬·½±ãµ¼ÈëʹÓ᣾­Ñо¿Action»¹ÕæÄÜ°ìµ½£¬Êµ¼ÊÉϲ»ÊÇActionµÄ¹¦ÀÍ£¬¶øÊÇJDOMµÄ¹¦ÀÍ£¬²»ËµÄÇô¶àÁË£¬¸ø´ó¼Ò·ÖÏíһϡ£     ÎÒÓÐÒ»¸ö²âÊÔ±í£¬ÓÐÁ½¸ö×ֶΣ¬Ò»¸öÊÇÓû§Ãû£¬Ò»¸öÊÇÃÜÂ룬ÏÖ½«Õ⸠......

XMLÖк¬ÓÐhtml±êÇ©µÄÎÊÌâ

¿´½áÂÛÇëÖ±½Ó¿´ÏÂÃæ
½ñÌìдÉú³ÉxmlµÄphp¡£Ã»ÓÐÓÃʲôXMLDOMNodeÖ®ÀàµÄÀ´Éú³É£¬¶øÊÇÖ±½Óecho³öxmlµÄÄÚÈÝ¡£
xmlµÄÄÚÈÝÖÐÓÐÒ»²¿·ÖµÄÊý¾ÝÊÇ´ÓdbÖÐÑ­»·È¡³öµÄ£¬ÎÊÌâ¾Í³öÔÚÕâ¡£ÎÒ·¢ÏÖÈ«²¿È¡³öÊý¾Ýʱ£¬¶ÔÓÚÉú³ÉµÄxml£¬simplexml_load_string·µ»Øfalse£¬¼´±íÃ÷Éú³ÉµÄxmlÊÇ·Ç·¨µÄ¡£
debugһϣ¬·¢ÏÖÈ¡³öÊý¾Ý¼ÓÒÔÏÞÖÆ limit 8 һϠ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ