XMLÈçºÎ¼ÓÃÜ£¿
XML code:
<?xml version="1.0"?>
<XmlServer>
<server>.</server>
<Database>BookDB</Database>
<user>sa</user>
<pwd>sa</pwd>
</XmlServer>
ÈçÌ⣬ÎÒÏÖÔÚÓÐÒ»¸ö±£´æÊý¾Ý¿âÕʺźÍÃÜÂëµÈÐÅÏ¢µÄXMLÎļþ£¬µ«ÎÒ²»Ïë¸ø±ðÈËËæÒâµÄ´ò¿ªÈ¥¿´£¬ËùÒÔÎÒ±ØÐë¼ÓÃÜ£¬ÇëÎÊÓ¦¸ÃÈçºÎŪ£¬ÇëÖ¸µãÃÔ½ò£¬Ð»Ð»{{
Ïà¹ØÎÊ´ð£º
txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔÊý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......
×¢£º
1.ÊÖ¶¯É¾³ýieÁÙʱÎļþºó¿ÉÒÔ»ñÈ¡ÐÂÊý¾Ý£»
2.Ë¢ÐÂÒ³Ãæ²»ÄÜ»ñÈ¡ÐÂÊý¾Ý£»
3.²»ÒªËµ¼ÓËæ»úÊýÔÚurlÉÏ£¬ÎÒ²»ÖªµÀ¾ßÌå¼ÓÔÚÄÄÀÎÒÂÒÊÔÁËÒ²»¹ÊDz»ÐУ»
4.Ï£ÍûµÃµ½µÄЧ¹ûÊǵã»÷¡°»ñÈ¡Êý¾Ý¡±ºó¿ÉÒÔÏÔʾxmlÀï ......
ÔÚJSPÀïͨ¹ýpost·½Ê½Ïò·þÎñÆ÷Ìá½»Êý¾Ý£¬http://xxx.cn/xxx/send.action?name=xxx&a=xxx È»ºó·þÎñÆ÷·µ»ØÈçϵÄÒ»¸öxml
XML code:
<?xml version="1.0" encoding="UTF-8" ?> ......
ÇóÖú¸÷λ´óϺ£¬Ñ§Éú³É¼¨µ¥XML SchemaµÄÉè¼Æ,XMLÎĵµµÄÉè¼Æ£¬°üº¬µÄÖ÷ÒªÐÅÏ¢£ºÑ§ºÅ¡¢Ñ§ÉúÐÕÃû¡¢Ïµ²¿¡¢°à¼¶¡¢¿¼ÊÔÈÕÆÚ¡¢ÈονÌʦ¡¢Ñ§·Ö¡¢Ñ§Ê±¡¢ÐÞϰÀà±ð¡¢Java³ÌÐòÉè¼Æ³É¼¨,ÍøÂç»ù´¡ÖªÊ¶³É¼¨¡¢ÍøÒ³ÖÆ×÷³É¼¨¡¢Èí¼þ¹¤³Ì³ ......