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

XMLÎļþÀïµÄÊý¾ÝÀàÐÍÓëË®¾§±¨±íÎÊÌâ

ÎÒдÁËÒ»¸öXMLÎļþ µ«ÊÇÔÚ¶ÁÈ¡µÄ¹ý³ÌÖÐ ÓÌÔ¥ÓÐÌØÊâ·ûºÅ£¨ÀýÈç! @ # $ % ^ & * £©yÓÐÕâЩµÄ»°£¬³ÌÐò×ßµ½xml.load("xmlÎļþÃû") ¾Í»á±¨´íµÄ£¬µ«ÊÇÕâЩ·ûºÅ¶ÔÓÚÊý¾ÝÓÖÊÇÖØÒªµÄ ÎÒÓÐÉçô°ì·¨ÄÜÈÃÎÒµÄDataListView¿Õ¼ä˳Àû¶ÁÈ¡XmlÎļþÄØ
¾ÍÊÇ˵ÔõÑùÔÚ²»É¾³ýÕâЩ·ûºÅµÄͬʱ°ÑÊý¾Ý¶Á´ÖÀ´ÄØ ÕâЩ´øÓÐÌØÊâ·ûºÅµÄÊý¾ÝÓ¦µ±ÔõÑùÈ¥´¦Àí


ÎÒÏëдһ¸ö¿ÉÒÔ°Ñ Ò»Ð©ÕûÊýÖµ»æÖƳÉÒ»¸öÇúÏßͼµÄ¹¤¾ß Ó¦µ±ÔõÑùÔõÑùÈ¥×öÄØ£¬ÎÒÏÖÔÚ¶ÔË®¾§±¨±íÒ»Çϲ»Í¨ ÇëÖ¸µãÏ лл


»Ø´ðÆäÒ» ÄÜÈÃÎÒÃ÷°×µÄÒ²¼Ó·Ö лл{{


Ïà¹ØÎÊ´ð£º

vbÓëxmlÎÊÌâ

vbÖÐÔõôͨ¹ýxmlÀ´½âÎöÊý¾Ý¿âÖеÄ×Ö¶ÎÖµ¡£
û°ì·¨ÓÃXML½âÎöÊý¾Ý¿âµÄ×Ö¶ÎÖµ£¬³ý·ÇÊý¾Ý¿âÖб£´æµÄÊÇXML¸ñʽµÄ×Ö·û´®Îĵµ¡£

XMLÓÃÀ´Õ¹Ê¾²ã´ÎµÄÊý¾Ý¡£
Êý¾Ý¿âÒ»°ãÊǶþάÊý¾Ý¡£

Êý¾Ý¿âÖб£´æµÄÊÇXML×Ö·û´®¸ñʽ£ ......

ÈçºÎ½«XMLÊý¾Ý´æÈëACCESSÊý¾Ý¿â

ÇëÎʸ÷λ´óʦ£¬ÎÒÏÖÔÚÐèÒª½«XMLµÄÊý¾ÝʵʱµÄ´æÈëµ½Êý¾Ý¿âÖУ¬ÎÒÊÇÓÃasp±àµÄ³ÌÐò£¬´óÁ¿Ãǰïæ·ÖÎö һϣ¡£¡£¡
ÏÂÃæÊÇÎÒµÄXMLÎļþ´úÂë
XML code:

<?xml version="1.0" encoding="utf-8"? ......

xml½âÎöÎÊÌ⣡¼±

ÎÒÊÇÀûÓÃaxiom¶Ôxml½øÐнâÎö£¡
µ«È´³öÏÖÏÂÃæµÄ´íÎó£¡
Exception in thread "main" org.apache.axiom.om.OMException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxUnexpectedCharEx ......

¶Ôxml½øÐнâÎö±àÂëÎÊÌâ

ÎÒµÄXMLÅäÖÃÎļþÀïÃæÓÐÖÐÎÄ×Ö·û,Ò²ÓÐÀàËÆÓÚ=~@!ÕâÖÖ×Ö·û,encodeingÉèÖÃΪgb2312  ºÍ  unicode,unicode  UTF-8,½á¹û¶¼Ìáʾϵͳ´íÎó,,,Èç¹ûÉèÖÃΪgb2312µÄ»°,È¥µô=!@ÕâÖÖ×Ö·û,Ò»Çж¼Õý³£.
ÓÉÓÚÎ ......

XML轉DataSet¡¢DataTable

ÎÒÏëÒªÒ»個ͨÓõÄxml轉DataTable£¬xmlÎļþ來×Ô²»Í¬µÄÎÄ檔£¬
ÀýÈ磺excelÎÄ檔Áí´æ為xmlÎÄ檔Ôõô°Ñ這個xmlÎÄ檔轉換³ÉDataSet¡¢DataTable ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ