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

javascript ÈçºÎÔÚ±¾µØ´´½¨¶ÁдxmlÎļþ£¿

ÐèÒª¼æÈÝie firefox safari µÈä¯ÀÀÆ÷
IE ¿ÉÒÔÓÃFSO µ«ÊÇÔÚÆäËûä¯ÀÀÆ÷²»ÄÜÓÃ
Ò»°ãµÄä¯ÀÀÆ÷´¦ÓÚ°²È«¿¼ÂǶ¼²»ÔÊÐíJavaScript¶Áд±¾µØÎļþµÄ°É

XMLÎĵµÄÚÈÝÈçÏ£¨user.xml£©£º
<?xml version="1.0" encoding="gbk"?>
<items>
<item sex="male" age="23& ......

ÇóÖú javascript¶ÁÈ¡xmlÎļþÄÚÈÝ

xmlÎļþ ÄÚÈÝΪ£º
<?xml version="1.0" encoding="utf-8" ?>
<UserInfo>
  <User>
    <name>jyhlp </name>
    <password>jp6661 </password>
  </User>
  <User>
  ......

ÇóÖú ÈçºÎʹÓÃjavascriptÑ­»·¶ÁÈ¡xmlÖ¸¶¨½ÚµãµÄÖµ

xmlÎļþ ÄÚÈÝΪ£º
<?xml version="1.0" encoding="utf-8" ?>
<UserInfo>
  <User>
    <name>jyhlp </name>
    <password>jp6661 </password>
  </User>
  <User> ......

FlashÖеÄXML¶ÔÏóµÄÊôÐÔÎÊÌâ

ÔÚ¿´Ò»¶ÎAS´úÂëʱÓöµ½¼¸¸öÒÉÎÊ¡£
ÔÚFlashÖеÄXML¶ÔÏóòËÆÓÐÒ»¸öchildÊôÐÔ
ÇëÎÊ
1.childÊôÐÔºÍchildNodesÓÐʲôÇø±ð£¿
2.ASÖÐÓÐintÊý¾ÝÀàÐÍÂð£¿AS3.0ÖÐÓÐÂð£¿
´úÂëÖÐÓõ½ÁË´ËÀàÐÍ¡£
3._name¡¢_parentÊÇFlashµÄ¹Ø¼ü×Ö»¹ÊDZ£Áô×Ö£¿

ÒòΪÔÚFlash»·¾³ÖÐchild¡¢int¡¢._name¡¢_parent
¾ùÓï·¨¼ÓÁÁÁË£¬Ë ......

xml »»ÐÐ

<JiBie2 name="bbb" url="10.10.10.12/gongzhongxinxi/Qiyebiaozhun_Mingxibiao.php" alertcolor="#CC0000" >
ÏëÒª°ÑnameÀïÌí¼ÓÒ»¸ö»»Ðзû£¬ÏÔʾµÄʱºò¿´ÆðÀ´
b
bb

ÇëÎÊÓ¦¸ÃÔõôд£¿
ÎÒÊÇÔÚphpÎļþÀïÓÃecho ·½·¨À´Ð´ <JiBie2 name="bbb" url="1 ......

ÈçºÎ¶ÁÈ¡xmlÎļþÎı¾£¿

ÎÒÕÒµ½Ò»¸öÊý¾ÝÔ´£¬µ«ÄǸöÊý¾ÝÔ´ÊÇÒ»¸öXMLÎļþ£¬µ«ÊÇËû²¢²»ÏñÒ»°ãµÄXMLÎļþÒ»Ñù£¬ÒòΪËûÀïÃæÈ«ÊÇһЩÎı¾¡£ÇëÎÊÈçºÎ½«ÄÇЩÎı¾¶ÁÈ¡³öÀ´£¿
ÓÐɶÇø±ðû£¿
ÊÇÑϸñµÄxml¸ñʽ£¬¾ÍÓÃxmldocument¶Á£¬Ö»ÊÇ;ÓÐxmlÀ©Õ¹ÃûµÄ»°£¬SteramReaderÖ®ÀàµÄ¶Á£¬ÁíÍâ·ÖÎö

xmlReader

ȷʵÊÇÒ»¸öÍ¿ÓÐXMLÀ©Õ¹ÃûµÄÎļþ    ÎÒÏë° ......
×ܼǼÊý:834; ×ÜÒ³Êý:139; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [130] [131] [132] [133] [134] [135] [136] [137] 138 [139]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ