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

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ÖеÄÖµ

ÎÒÒªÔÚHTMLÖÐÓÃJavaScript´úÂëÒì²½»ñÈ¡XMLÎļþÖÐÒ»¸ö½ÚµãµÄÖµ±ÈÈç

<?xml version="1.0" encoding="GB2312"?>
<configuration>
  <appSettings>
......

ÓÃjavascript´úÂëÒì²½»ñÈ¡xmlÖеÄÖµ

ÈçÌ⣺
²Î¿¼http://topic.csdn.net/u/20090912/12/af0562a2-6869-48b8-a1a4-bc165c02fa4d.html
ÖÐÎҵĻظ´
°ÑxmlReportData.async = "false"; ¸Ä³ÉxmlReportData.async = "true";¾ÍÊÇÒì² ......

javascript ÈçºÎÔÚ±¾µØ´´½¨¶ÁдxmlÎļþ£¿

ÐèÒª¼æÈÝie firefox safari µÈä¯ÀÀÆ÷
IE ¿ÉÒÔÓÃFSO µ«ÊÇÔÚÆäËûä¯ÀÀÆ÷²»ÄÜÓÃ
Ò»°ãµÄä¯ÀÀÆ÷´¦ÓÚ°²È«¿¼ÂǶ¼²»ÔÊÐíJavaScript¶Áд±¾µØÎļþµÄ°É

XMLÎĵµÄÚÈÝÈçÏ£¨user.xml£©£º
<?xml version="1.0&qu ......

ÀûÓÃC#±àдtxtת»¯µ½xmlµÄ³ÌÐò

txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔ­Êý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......

ÈçºÎÌá½»xmlÀàÐÍÊý¾Ý - .NET¼¼Êõ / ASP.NET

Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
  <a>aaa
  </a>
  <b>bbb
  </b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ