Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : xml

FirefoxÏÂJavaScript¶ÁÈ¡xmlÎĵµ½Úµã

ÏÖÔÚ³ÌÐòÖÐÊÇͨ¹ýxmlHttp.responseXML»ñÈ¡ÁËÒ»¸öxml£¬¸ñʽÈçÏÂ
XML code:

<?xml version="1.0" encoding="UTF-8"?>
<response>
<device>358279018906196</device>
<lnglat>117.124844,31.986617,0.0 117.241917,32.017188,0.0</lnglat>
</response& ......

ajax²»Äܶ¯Ì¬ÏÔʾxmlÀïµÄÊý¾Ý

×¢£º1.ÊÖ¶¯É¾³ýieÁÙʱÎļþºó¿ÉÒÔ»ñÈ¡ÐÂÊý¾Ý£»2.Ë¢ÐÂÒ³Ãæ²»ÄÜ»ñÈ¡ÐÂÊý¾Ý£»3.²»ÒªËµ¼ÓËæ»úÊýÔÚurlÉÏ£¬ÎÒ²»ÖªµÀ¾ßÌå¼ÓÔÚ

ÄÄÀÎÒÂÒÊÔÁËÒ²»¹ÊDz»ÐУ»4.Ï£ÍûµÃµ½µÄЧ¹ûÊǵã»÷¡°»ñÈ¡Êý¾Ý¡±ºó¿ÉÒÔÏÔʾxmlÀïµÄ×îÐÂÊý¾Ý£»5.ÕýÔڸϱÏÒµÉè¼Æ£¬Ê±¼ä½ô

ÆÈ£¬Çë¸ßÈËÖ¸µã£¡


<script type="text/javascri ......

xml ÄÑÌâ Çë½Ì¸ßÊÖ

xmlÎĵµÈçÏÂ:
XML code:
<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2005 rel. 3 U (http://www.altova.com)-->
<JXWEB xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="¼¨Ð§¹ÜÀ ......

excelת»»xmlµÄϸ½ÚÎÊÌâ

ÎÒÒªÔÚwindows´°ÌåÏÂÉè¼ÆÒ»¸ö¶ÁÈ¥excelÎļþ²¢×ª»»³ÉxmlÎļþ.
ÏÖÔڴ󲿷ֹ¦Äܶ¼ÊµÏÖÁË,µ«³öÏÖÁ˺ܴóµÄÎÊÌâ....
ÏÖÔÚÎÒµÄexcelÎļþ°üº¬ÒÔÏÂÄÚÈÝ:
±àºÅ    ÐÕÃû  ѧ·Ñ    ÔÓ·Ñ
001      a      54    65
002      b  ......

ÓÐʲô·½·¨°ÑSTRINGת³ÉXMLµÄELEMENT¶ÔÏó£¬JDOM

RT ÓÐʲô·½·¨°ÑSTRINGת³ÉXMLµÄELEMENT¶ÔÏó£¬Ð´ÈëDOCUMENT¶ÔÏóÖÐÈ¥£¬²»ÒªÈ¥¶ÁдÎļþ
string = " <data> <id> </id> </data>",ÄÇDOCUMENTÖÐ2¸ö²ã´ÎµÄELEMENT¶ÔÏó

ÄÄλ´óÏÀдµÄ³öÀ´£¿ÓÃJDOMµÈ¶¼¿ÉÒÔ
ÊDz»ÊÇ˵µÄÕâÑùµÄ£¿
Java code:
http://www.blogjava.net/fangwei/arch ......

·â×°Êý¾Ý¿âÇý¶¯³ÌÐò£¬ÓýâÎöxmlÎļþµÄ·½Ê½»ñÈ¡Çý¶¯£¿

<?xml version="1.0" encoding="UTF-8"?>
<database>

<dbinfo id="100">
<dirver>com.mysql.jdbc.Driver </dirver>
<url>jdbc:mysql://localhost:3306/testdb </url>
<username>root </username>
......
×ܼǼÊý:834; ×ÜÒ³Êý:139; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [129] [130] [131] [132] 133 [134] [135] [136] [137] [138]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ