¹ØÓÚxloadtree ¼ÓÔØxmlµÄÎÊÌâ
×î½üÎÒ×öÏîÄ¿ÐèÒªÓÃxloadtree,×¼±¸ÓÃxloadtree×öȨÏÞ¹ÜÀí£¬ÓÃxloadtree¼ÓÔØ±¾µØµÄxml£¬²»Í¬µÄÓû§¿ÉÒÔ¿´µ½²»Í¬µÄ¹ÜÀíÊ÷¡£Ïà¹Ø´úÂ룺
var tendex_tree = new WebFXTree(' <b>TD3000ϵͳ </b>');
tendex_tree.setBehavior('classic');
var item_1 = new WebFXLoadTreeItem('µçÒµ¾Ö','../xml/${treetime}',"javascript:show('main.jsp')");
tendex_tree.add(item_1);
document.write(tendex_tree);
${treetime}ÊÇÉú³ÉµÄXMLÎļþÃû³Æ¡£Ë¢ÐÂÒ»´Î£¬¾ÍÉú³ÉеÄXMLÎļþ£¬½«ÒÔǰµÄXMLɾ³ý¡£µ«ÊÇÔڵǽºó£¬Ìø×ªµ½indexÒ³ÃæÊ±£¬Ê÷µÄ²¿·Ö¼ÓÔØ³ö´í¡£µ¯³öÒ»¸öÏûÏ¢¿ò¡°×°ÔØÊ§°Ü£¡¡±
Ï£ÍûÄÄλ´ó´óÄܹ»¸øÎÒ¸ö½â¾ö·½°¸¡£ÎÒ¾õµÃÓ¦¸ÃÊÇÒì²½¼ÓÔØµÄÎÊÌâ¡£
Ïà¹ØÎÊ´ð£º
vbÖÐÔõôͨ¹ýxmlÀ´½âÎöÊý¾Ý¿âÖеÄ×Ö¶ÎÖµ¡£
û°ì·¨ÓÃXML½âÎöÊý¾Ý¿âµÄ×Ö¶ÎÖµ£¬³ý·ÇÊý¾Ý¿âÖб£´æµÄÊÇXML¸ñʽµÄ×Ö·û´®Îĵµ¡£
XMLÓÃÀ´Õ¹Ê¾²ã´ÎµÄÊý¾Ý¡£
Êý¾Ý¿âÒ»°ãÊǶþάÊý¾Ý¡£
Êý¾Ý¿âÖб£´æµÄÊÇXML×Ö·û´®¸ñʽ£ ......
ÇëÎʸ÷λ´óʦ£¬ÎÒÏÖÔÚÐèÒª½«XMLµÄÊý¾ÝʵʱµÄ´æÈëµ½Êý¾Ý¿âÖУ¬ÎÒÊÇÓÃasp±àµÄ³ÌÐò£¬´óÁ¿Ãǰïæ·ÖÎö һϣ¡£¡£¡
ÏÂÃæÊÇÎÒµÄXMLÎļþ´úÂë
XML code:
<?xml version="1.0" encoding="utf-8"? ......
ÎÒµÄXMLÅäÖÃÎļþÀïÃæÓÐÖÐÎÄ×Ö·û,Ò²ÓÐÀàËÆÓÚ=~@!ÕâÖÖ×Ö·û,encodeingÉèÖÃΪgb2312 ºÍ unicode,unicode UTF-8,½á¹û¶¼Ìáʾϵͳ´íÎó,,,Èç¹ûÉèÖÃΪgb2312µÄ»°,È¥µô=!@ÕâÖÖ×Ö·û,Ò»Çж¼Õý³£.
ÓÉÓÚÎ ......
ÎÒÏëÒªÒ»個ͨÓõÄxml轉DataTable£¬xmlÎļþ來×Ô²»Í¬µÄÎÄ檔£¬
ÀýÈ磺excelÎÄ檔Áí´æ為xmlÎÄ檔Ôõô°Ñ這個xmlÎÄ檔轉換³ÉDataSet¡¢DataTable ......
ÔÚJSPÀïͨ¹ýpost·½Ê½Ïò·þÎñÆ÷Ìá½»Êý¾Ý£¬http://xxx.cn/xxx/send.action?name=xxx&a=xxx È»ºó·þÎñÆ÷·µ»ØÈçϵÄÒ»¸öxml
XML code:
<?xml version="1.0" encoding="UTF-8" ?> ......