XMLÎļþ·ÖÎö£¬Ëã·¨ÎÊÌ⣡Çó½â¾ö·½°¸¡£¡£¡£
¼ÙÉèÓ¦ÓóÌÐòÖÐÐèÒª¾³£ÐÔµÄÈ¥ÇëÇóÍøÂçµØÖ·£¬»òµÃXML´®£¬·þÎñÆ÷Éϵõ½µÄXML´®ºÜ¶àʱºò»á±ä£¬ÓÐʱºòÎļþÒ²Âù´óµÄ£¬
ÄÇôÎÊÌâ1£ºÎÒÊÇÐèÒª½«XMLÕâЩÎļþ´æ·ÅÆðÀ´Âð£¿Èç¹ûÒª´æ·Å£¬ÓÃÎļþºÃ£¬»¹ÊÇSQLITEºÃÄØ£¿
ÎÊÌâ2 £ºÎÒÏë²ÉÓÃSAX·½Ê½È¥½âÎöXML Îļþ£¬µ«ÊÇXMLÖнڵãÌ«¶à£¬²»Êǵ¼Ö³ÌÐò´úÂëÓÐЩ¸´ÔÓµÄÁË£¬£¨ÓÐûÓÐÒ»ÖÖ»úÖÆ£ºËµÏȽâÎöµ½Ä³Ò»¶Î£¬È»ºó¸ù¾ÝÄÚÈÝÏÔʾ½çÃ棬µ±ÐèÒªÏÂÒ»¸ö½çÃæµÄʱºò£¬ÖØпªÊ¼½âÎöʣϵÄXML´®£¡£¡£©
·þÎñÆ÷Éϵõ½µÄXML´®ºÜ¶àʱºò»á±ä£¬ÓÐʱºòÎļþÒ²Âù´óµÄ£¬
===================
Ò²´ó²»µ½ÄĶùÈ¥°É£¬ÓÃSQLITE×ã¹»
ÎÊÌâ2 £ºÎÒÏë²ÉÓÃSAX·½Ê½È¥½âÎöXML Îļþ£¬µ«ÊÇXMLÖнڵãÌ«¶à£¬²»Êǵ¼Ö³ÌÐò´úÂëÓÐЩ¸´ÔÓµÄÁË£¬£¨ÓÐûÓÐÒ»ÖÖ»úÖÆ£ºËµÏȽâÎöµ½Ä³Ò»¶Î£¬È»ºó¸ù¾ÝÄÚÈÝÏÔʾ½çÃ棬µ±ÐèÒªÏÂÒ»¸ö½çÃæµÄʱºò£¬ÖØпªÊ¼½âÎöʣϵÄXML´®£¡£¡£©
ÎÒÒ²Ïë¹ý ²»¹ýûÓнâ¾ö
²»ÖªµÀÄãµÄÄ¿µÄÊÇʲô£¬ÊÇÒª×ö¸öwapä¯ÀÀÆ÷ô£¿
1£¬Ã»±ØÒª´æxmlÎļþ°É£¬Òª´æÒ²ÊǽâÎöºÃµÄÊý¾Ý¡£
2£¬ÓÃsax½âÎö·½Ê½Ó¦¸ÃÄÜÂú×ãÄãµÄÒªÇó£¬Óöµ½·ÖÒ³±êÇ©ºó£¬ÏÈÏÔʾ֮ǰµÄÊý¾Ý£¬È»ºó¼ÌÐø½âÎö£¬ÔÙ±£´æʣϵÄÊý¾Ý£¬ÐèÒªÊÇÔÙÏÔʾʣϵÄÊý¾Ý¡£Ö»Òª°ÑÕâÁ½ÖÖÊý¾Ý·Ö¿ª¶¨ÒåºÍ´¦Àí¾ÍÐÐÁË
Ïà¹ØÎÊ´ð£º
ÎÒÒªÔÚHTMLÖÐÓÃJavaScript´úÂëÒì²½»ñÈ¡XMLÎļþÖÐÒ»¸ö½ÚµãµÄÖµ±ÈÈç
<?xml version="1.0" encoding="GB2312"?>
<configuration>
<appSettings>
......
ÈçÌ⣺
²Î¿¼http://topic.csdn.net/u/20090912/12/af0562a2-6869-48b8-a1a4-bc165c02fa4d.html
ÖÐÎҵĻظ´
°ÑxmlReportData.async = "false"; ¸Ä³ÉxmlReportData.async = "true";¾ÍÊÇÒì² ......
ÐèÒª¼æÈÝie firefox safari µÈä¯ÀÀÆ÷
IE ¿ÉÒÔÓÃFSO µ«ÊÇÔÚÆäËûä¯ÀÀÆ÷²»ÄÜÓÃ
Ò»°ãµÄä¯ÀÀÆ÷´¦ÓÚ°²È«¿¼ÂǶ¼²»ÔÊÐíJavaScript¶Áд±¾µØÎļþµÄ°É
XMLÎĵµÄÚÈÝÈçÏ£¨user.xml£©£º
<?xml version="1.0&qu ......
txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔÊý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......
Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
<a>aaa
</a>
<b>bbb
</b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......