Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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

Ôõôн¨Ò»¸öxmlÔÚ³ÌÐò(ÄÚ´æ)ÖÐ

ÎÒÒª×öÒ»¸öÀ࣬ÀàµÄ³ö¿ÚÊÇÒ»¸öxml£¬¹©µ÷ÓÃÕß·ÖÎöÀïÃæµÄÊý¾ÝÓá£ÎÒÉÏÍø²éÁËһϣ¬ºÃ¶àÀý×Ó¶¼ÊÇ°ÑxmlÉú³ÉÒ»¸öÎļþµ½Ó²ÅÌÉÏ£¬ÔõôÉú³Éµ½³ÌÐòÀïÄØ£¿¾ÍÏñDataTableÄÇÑù£¬ÎÒÍùÀïÃæ´æÍêÊý¾Ý£¬·µ»Ø¸øµ÷ÓõÄÈ˾ÍÍêÁË¡£

ÏÂÃæÎÒËæ±ãдÁËÒ»¸öСÀý×Ó:

<111>
  <222>
    <333>4 ......

¼±£¬¹ØÓÚxmlµÄ½âÎöÎÊÌ⣡£¡£¡£¡£¡£¡£¡£¡

XML code:
<?xml version="1.0" encoding="utf-8"?>
<Map>
<Style name="line">
<Rule>
</Rule>
</Style>
</Map>

ÒªµÃµ½Õâ¸östyleµÄnameÖµ¡°line¡±¸ÃÔõô×ö£¿
żÊÇÐÂÊÖ£¬·ÖÊý²»¶à£¬Ï£Íû¸ßÊÖÄÜÖ¸µãһϠ......

XMLÎļþ·ÖÎö£¬Ëã·¨ÎÊÌ⣡Çó½â¾ö·½°¸¡£¡£¡£

¼ÙÉèÓ¦ÓóÌÐòÖÐÐèÒª¾­³£ÐÔµÄÈ¥ÇëÇóÍøÂçµØÖ·£¬»òµÃXML´®£¬·þÎñÆ÷Éϵõ½µÄXML´®ºÜ¶àʱºò»á±ä£¬ÓÐʱºòÎļþÒ²Âù´óµÄ£¬
 
ÄÇôÎÊÌâ1£ºÎÒÊÇÐèÒª½«XMLÕâЩÎļþ´æ·ÅÆðÀ´Âð£¿Èç¹ûÒª´æ·Å£¬ÓÃÎļþºÃ£¬»¹ÊÇSQLITEºÃÄØ£¿

ÎÊÌâ2 £ºÎÒÏë²ÉÓÃSAX·½Ê½È¥½âÎöXML Îļþ£¬µ«ÊÇXMLÖнڵãÌ«¶à£¬²»Êǵ¼Ö³ÌÐò´úÂëÓÐЩ¸´ÔÓµÄÁË£¬£ ......

100·ÖÇóÖúJSµÄ½âÎöÒ»¶ÎXML,NETBOX·â×°³ö´í¡£¡£¡£¡£¡£

ÒÔÏ´úÂëÔÚIEÏÂÊÇ¿ÉÒÔÕý³££¬µ«ÊÇÓÃNETBOX·â×°¾Í²»ÐÐÁË£¬ÔËÐе½ºìÉ«µÄµØ·½¾Í³ö´íÁË£¬ËµÈ±ÉÙ¶ÔÏñ£¬ÇëÎÊÔõôÑùÐ޸ġ£


JScript code:

//////////////////// AJAXÀà////////////////
function getxmlDoc(){
var xmlDoc=null;
if(window.ActiveXObject){
var i,activeXarr;
......

ÕýÔò±í´ïʽ½âÎöxml£¿

RT
ÓÐûÓÐÔ´ÂëʵÀý£¡
лл£¡
²»ÊÇÓÐdom4jÕâÑùµÄ½âÎöxmlÎļþµÄ°üô ¸ÉÂï·ÇÒªÓÃÕýÔò£¿

Êܲ»ÁË£¡

òËƲ»ÐаÉ



ÓУ¬ºÃ¼¸¸öÄØ£¬DOM,jdom£¬dom4j¡£¡£
¹þ¹þ£¡

ÓÉÓÚÎÒµÄxml±àÂë¸ñʽÓеãÎÊÌ⣬²»ÄÜÓÃÒ»°ãµÄxml½âÎöÆ÷½øÐнâÎö¡£ËùÒÔÖ»ºÃ²ÉÓÃÕýÔòÀ´´¦Àí£¡

òËÆûÓÐ, Òª×Ô¼º¶¯ÊÖдÁË.

ÍƼö²»ÒªÓÃÕýÔ ......

phpÖÐxml×·¼ÓÎÊÌâ

ÎÒÉú³ÉµÄxmlÊÇÕâÑùµÄ
<?xml version="1.0"?>
<message>
  <title>dd </title>
  <content>ee </content>
</message>
дÁËÕâÑùµÄÒ»¸öº¯Êý

xml('33','j33');
xml('dd','ee');
function ......
×ܼǼÊý:834; ×ÜÒ³Êý:139; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [130] [131] [132] [133] [134] 135 [136] [137] [138] [139]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ